[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec h263dec.c,1.169,1.170
Michael Niedermayer CVS
michael
Sat Sep 10 19:09:56 CEST 2005
Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv28550
Modified Files:
h263dec.c
Log Message:
select xvid idct for xvid files if possible
Index: h263dec.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/h263dec.c,v
retrieving revision 1.169
retrieving revision 1.170
diff -u -d -r1.169 -r1.170
--- h263dec.c 14 Jul 2005 21:39:35 -0000 1.169
+++ h263dec.c 10 Sep 2005 17:09:54 -0000 1.170
@@ -636,9 +636,9 @@
}
#endif
-#ifdef HAVE_MMX
+#if defined(HAVE_MMX) && defined(CONFIG_GPL)
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->idct_algo= FF_IDCT_XVIDMMX;
avctx->coded_width= 0; // force reinit
}
#endif
More information about the ffmpeg-cvslog
mailing list