aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-09-04 03:29:00 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-04 03:29:00 +0200
commit7b1ff5e2f358ce0441ebb4fc1a6674eca4b9a898 (patch)
treecd224555842363b17c7ad5d0905737c404a23f3f
parent1fa4018e29d7701d06a27596b9b15a185193707b (diff)
downloadffmpeg-7b1ff5e2f358ce0441ebb4fc1a6674eca4b9a898.tar.gz
h263dec: fix xvid IDCT switching
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/h263dec.c1
1 files changed, 1 insertions, 0 deletions
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