vp8/mt: flush worker thread, not application thread context, on seek.
This prevents a crash when seeking.
This commit is contained in:
@ -1080,7 +1080,7 @@ void avcodec_flush_buffers(AVCodecContext *avctx)
|
||||
{
|
||||
if(HAVE_PTHREADS && avctx->active_thread_type&FF_THREAD_FRAME)
|
||||
ff_thread_flush(avctx);
|
||||
if(avctx->codec->flush)
|
||||
else if(avctx->codec->flush)
|
||||
avctx->codec->flush(avctx);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user