aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h263dec.c
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2004-06-26 09:52:16 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2004-06-26 09:52:16 +0000
commitb442a92f852b724fd21abe48b11939d6f15787f5 (patch)
treed8b891cb1fe354e9888c2f1f159abfde43a43940 /libavcodec/h263dec.c
parent0dfd33c3f115b95e016e8d6f0ffc3513f3b22182 (diff)
downloadffmpeg-b442a92f852b724fd21abe48b11939d6f15787f5.tar.gz
10l, non-x86 fix
Originally committed as revision 3254 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r--libavcodec/h263dec.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 31580e4dbf..78e13300b9 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -623,11 +623,14 @@ retry:
fprintf(f, "%d %d %f\n", buf_size, s->qscale, buf_size*(double)s->qscale);
}
#endif
-
+
+#ifdef HAVE_MMX
if(s->codec_id == CODEC_ID_MPEG4 && s->xvid_build && avctx->idct_algo == FF_IDCT_AUTO && (mm_flags & MM_MMX) && !(s->flags&CODEC_FLAG_BITEXACT)){
avctx->idct_algo= FF_IDCT_LIBMPEG2MMX;
avctx->width= 0; // force reinit
}
+#endif
+
/* After H263 & mpeg4 header decode we have the height, width,*/
/* and other parameters. So then we could init the picture */
/* FIXME: By the way H263 decoder is evolving it should have */