Commit b239f3f6 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/h263dec: move call to ff_mpeg4_workaround_bugs() under codec_id check

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 2b1922d9
......@@ -491,8 +491,10 @@ retry:
avctx->has_b_frames = !s->low_delay;
if (ff_mpeg4_workaround_bugs(avctx) == 1)
goto retry;
if (CONFIG_MPEG4_DECODER && avctx->codec_id == AV_CODEC_ID_MPEG4) {
if (ff_mpeg4_workaround_bugs(avctx) == 1)
goto retry;
}
/* After H263 & mpeg4 header decode we have the height, width,
* and other parameters. So then we could init the picture.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment