diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-01-31 15:17:59 -0800 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2012-02-07 11:29:02 -0800 |
commit | fb90785e98ac405198c0ca9fec133227f6d82826 (patch) | |
tree | 7ff4f6462e07adf9376274a3e9061ac9bbc74196 /libavformat/rtpdec_formats.h | |
parent | 722410ade56f67b474e4d0e5684e66d4942f5973 (diff) | |
download | ffmpeg-fb90785e98ac405198c0ca9fec133227f6d82826.tar.gz |
vp8: always update next_framep[] before returning from decode_frame().
Also slightly move around code not allocate a new frame if we won't
decode it. This prevents us from putting undecoded frames in frame
pointers, which (in mt decoding) other threads will use and wait on
as references, causing a deadlock (if we skipped decoding) or a crash
(if we didn't initialized next_framep[] at all).
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Diffstat (limited to 'libavformat/rtpdec_formats.h')
0 files changed, 0 insertions, 0 deletions