bus error core dump in swscale optimizations on arm
|Reported by:||peterbennett||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
This happened in MythTV (www.mythtv.org) in arm architecture only. In this instance MythTV uses sws_scale to convert a frame to RGB format without changing its size.
MythTV has a private copy of FFMPEG source (currently 3.2).
If input format is AV_PIX_FMT_YUV420P and output format is AV_PIX_FMT_BGRA, and the input and output sizes are the same, sws_scale fails with a bus error. If I use an output width 1 pixel less than input, it avoids some optimization and then works correctly.
Source code (look for #if ARCH_ARM at line 166).
There is more info in this ticket