From 7b1ff5e2f358ce0441ebb4fc1a6674eca4b9a898 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 4 Sep 2012 03:29:00 +0200 Subject: [PATCH] h263dec: fix xvid IDCT switching Signed-off-by: Michael Niedermayer --- libavcodec/h263dec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index 3acb6c2b90..6c01e00a57 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -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