[FFmpeg-cvslog] r21425 - trunk/libavcodec/h264_cavlc.c
michael
subversion
Sun Jan 24 19:05:02 CET 2010
Author: michael
Date: Sun Jan 24 19:05:02 2010
New Revision: 21425
Log:
1 cpu cycle faster suffix_length calculation.
Modified:
trunk/libavcodec/h264_cavlc.c
Modified: trunk/libavcodec/h264_cavlc.c
==============================================================================
--- trunk/libavcodec/h264_cavlc.c Sun Jan 24 18:27:00 2010 (r21424)
+++ trunk/libavcodec/h264_cavlc.c Sun Jan 24 19:05:02 2010 (r21425)
@@ -408,7 +408,7 @@ static int decode_residual(H264Context *
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];
More information about the ffmpeg-cvslog
mailing list