changeset 3181:2cb8580873c8 libavcodec

very minor optimization
author michael
date Fri, 10 Mar 2006 18:37:18 +0000
parents 00b7ecfd59a6
children bfb20cb7774b
files h263.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/h263.c	Fri Mar 10 18:34:51 2006 +0000
+++ b/h263.c	Fri Mar 10 18:37:18 2006 +0000
@@ -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);