summaryrefslogtreecommitdiff
path: root/libavcodec/h263dec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-12-03 15:21:40 +0100
committerAnton Khirnov <anton@khirnov.net>2016-12-19 08:09:19 +0100
commit8dfba25ce89b62c80ba83e2116d549176c376144 (patch)
tree27f99402214fd3c49b82690e4c2850b2e05fe08e /libavcodec/h263dec.c
parent373fd76b4dbd9aa03ed28e502f33f2ca8c1ce19a (diff)
pthread_frame: ensure the threads don't run simultaneously with hwaccel
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r--libavcodec/h263dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index e4a7227575..921ff5fb98 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -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) {