changeset 2096:83ab15bd1638 libavcodec

10l, non-x86 fix
author alex
date Sat, 26 Jun 2004 09:52:16 +0000
parents 5ab35105671a
children dd81e5be0c7a
files h263dec.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/h263dec.c	Sat Jun 26 02:20:38 2004 +0000
+++ b/h263dec.c	Sat Jun 26 09:52:16 2004 +0000
@@ -623,11 +623,14 @@
     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 */