---
 libavcodec/pthread.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libavcodec/pthread.c b/libavcodec/pthread.c
index f4d7f46..73250f0 100644
--- a/libavcodec/pthread.c
+++ b/libavcodec/pthread.c
@@ -673,6 +673,7 @@ int avcodec_thread_init(AVCodecContext *avctx, int thread_count)
     if (avctx->codec && !avctx->thread_opaque) {
         ff_validate_thread_parameters(avctx);
 
+        // frame_thread_init must be called after codec init
         if (USE_AVCODEC_EXECUTE(avctx))
             return ff_thread_init(avctx, thread_count);
     }
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to