diff h264_cavlc.c @ 10991:cf7a9b5c4064 libavcodec

1 cpu cycle faster suffix_length calculation.
author michael
date Sun, 24 Jan 2010 18:05:02 +0000
parents d5320d1acaee
children 3932fd1a1c25
line wrap: on
line diff
--- a/h264_cavlc.c	Sun Jan 24 17:27:00 2010 +0000
+++ b/h264_cavlc.c	Sun Jan 24 18:05:02 2010 +0000
@@ -408,7 +408,7 @@
 
     if(trailing_ones<total_coeff) {
         int mask, prefix;
-        int suffix_length = total_coeff > 10 && trailing_ones < 3;
+        int suffix_length = total_coeff > 10 & trailing_ones < 3;
         int bitsi= show_bits(gb, LEVEL_TAB_BITS);
         int level_code= cavlc_level_tab[suffix_length][bitsi][0];