[FFmpeg-cvslog] h263dec: fix xvid IDCT switching

Michael Niedermayer git at videolan.org
Tue Sep 4 03:36:55 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Sep  4 03:29:00 2012 +0200| [7b1ff5e2f358ce0441ebb4fc1a6674eca4b9a898] | committer: Michael Niedermayer

h263dec: fix xvid IDCT switching

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7b1ff5e2f358ce0441ebb4fc1a6674eca4b9a898
---

 libavcodec/h263dec.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 3acb6c2..6c01e00 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
 



More information about the ffmpeg-cvslog mailing list