Revision b566bd65 libavcodec/h264.c

View differences:

libavcodec/h264.c
6164 6164
            if( coeff_abs >= 15 ) {
6165 6165
                int j = 0;
6166 6166
                while( get_cabac_bypass( &h->cabac ) ) {
6167
                    coeff_abs += 1 << j;
6168 6167
                    j++;
6169 6168
                }
6170 6169

  
6170
                coeff_abs=1;
6171 6171
                while( j-- ) {
6172
                    if( get_cabac_bypass( &h->cabac ) )
6173
                        coeff_abs += 1 << j ;
6172
                    coeff_abs += coeff_abs + get_cabac_bypass( &h->cabac );
6174 6173
                }
6174
                coeff_abs+= 14;
6175 6175
            }
6176 6176

  
6177 6177
            if( !qmul ) {

Also available in: Unified diff