diff options
author | Janne Grunau <janne-libav@jannau.net> | 2014-08-21 13:26:33 +0200 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2014-08-22 13:11:43 +0200 |
commit | dc4b2e7d33903a6b9380e8a84b22b3a20facbb08 (patch) | |
tree | 67210aed094a357f062c4d1d437c1ed08ca7d4fb /libavformat/mpc8.c | |
parent | b0bfd09f88da8b7c7666faf0ac7d5e74559dba9f (diff) | |
download | ffmpeg-dc4b2e7d33903a6b9380e8a84b22b3a20facbb08.tar.gz |
rv34: use ff_mpeg_update_thread_context only when decoder is fully initialized
MpegEncContext based decoders are only fully initialized after the first
ff_thread_get_buffer() call. The RV30/40 decoders may fail before a frame
buffer was requested. ff_mpeg_update_thread_context() fails on half
initialized MpegEncContexts. Since this can only happen before a the
first frame was decoded there is no need to call
ff_mpeg_update_thread_context().
Based on patches by John Stebbins and tested by John Stebbins.
CC: libav-stable@libav.org
Diffstat (limited to 'libavformat/mpc8.c')
0 files changed, 0 insertions, 0 deletions