h263dec: fix xvid IDCT switching
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 4 Sep 2012 01:29:00 +0000 (03:29 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 4 Sep 2012 01:29:00 +0000 (03:29 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h263dec.c

index 3acb6c2..6c01e00 100644 (file)
@@ -595,6 +595,7 @@ retry:
     if (s->codec_id == AV_CODEC_ID_MPEG4 && s->xvid_build>=0 && avctx->idct_algo == FF_IDCT_AUTO && (av_get_cpu_flags() & AV_CPU_FLAG_MMX)) {
         avctx->idct_algo= FF_IDCT_XVIDMMX;
         ff_dct_common_init(s);
+        goto retry;
     }
 #endif