]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/h263dec.c
pthread_frame: ensure the threads don't run simultaneously with hwaccel
[ffmpeg] / libavcodec / h263dec.c
index e4a7227575cd7cdb8e9913de0d1389805d060cba..921ff5fb985576f5cc15e29dc62309446644422f 100644 (file)
@@ -558,7 +558,7 @@ int ff_h263_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
     if ((ret = ff_mpv_frame_start(s, avctx)) < 0)
         return ret;
 
-    if (!s->divx_packed && !avctx->hwaccel)
+    if (!s->divx_packed)
         ff_thread_finish_setup(avctx);
 
     if (avctx->hwaccel) {