diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-11-15 11:00:01 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-11-15 11:00:01 +0400 |
commit | 8a0da0b59e0277b48bf4dbb00c6a01d026e6d0bb (patch) | |
tree | 6778a33188d94bce5ac900215704852d1b04007c /release/bin | |
parent | e8906f5254cdedb0dcbfab31a800ba1f9ed860f5 (diff) |
Fix #29202: Crash - VSE Cross strip probably leads to this
Crash was caused by several conditions:
- Frame which failed to decode tried to be converted to RGB colorspace
and some filters like deinterlacing used to be applied as well
(it's avscale stuff sws_scale where crash happened).
- In some cases it happened reading of freed memory when calling
sws_scale function. Looks like it happened because of freeing
packet on which decoding of frame finished and reading next packet.
Solved this two issues by making YUV->RGB conversion as soon as
frame was decoded in ffmpeg_decode_video_frame (such postprocessing
used to happen in callee of this function ffmpeg_fetchibuf), so now
sws_scale would be called before freeing packet on which decoding of
frame finished and it wouldn't be called in cases when decoding of
frame failed.
If decoding of frame failed, it'll be black ibuf returned to the sequencer.
Diffstat (limited to 'release/bin')
0 files changed, 0 insertions, 0 deletions