mirror of https://github.com/FFmpeg/FFmpeg.git
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.orgpull/83/head
parent
b0bfd09f88
commit
dc4b2e7d33
1 changed files with 6 additions and 4 deletions
Loading…
Reference in new issue