1 diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
2 index 3b29a189e9..681a4187c5 100644
3 --- a/libavcodec/h263dec.c
4 +++ b/libavcodec/h263dec.c
5 @@ -684,7 +684,7 @@ frame_end:
6 if (CONFIG_MPEG4_DECODER && avctx->codec_id == AV_CODEC_ID_MPEG4)
7 ff_mpeg4_frame_end(avctx, buf, buf_size);
9 - if (!s->divx_packed && avctx->hwaccel)
10 + if (s->divx_packed && avctx->hwaccel)
11 ff_thread_finish_setup(avctx);
13 av_assert1(s->current_picture.f->pict_type == s->current_picture_ptr->f->pict_type);