[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec h263.c,1.300,1.301

Michael Niedermayer CVS michael
Fri Mar 10 19:37:20 CET 2006


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv22358/libavcodec

Modified Files:
	h263.c 
Log Message:
very minor optimization


Index: h263.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/h263.c,v
retrieving revision 1.300
retrieving revision 1.301
diff -u -d -r1.300 -r1.301
--- h263.c	10 Mar 2006 18:34:51 -0000	1.300
+++ h263.c	10 Mar 2006 18:37:18 -0000	1.301
@@ -4966,7 +4966,7 @@
         if(s->qscale >= s->intra_dc_threshold){
             block[0] = ff_mpeg4_pred_dc(s, n, block[0], &dc_pred_dir, 0);
 
-            if(i == -1) i=0;
+            i -= i>>31; //if(i == -1) i=0;
         }
 
         mpeg4_pred_ac(s, block, n, dc_pred_dir);





More information about the ffmpeg-cvslog mailing list