Revision f4ce8531 libavcodec/h264_cabac.c

View differences:

libavcodec/h264_cabac.c
937 937
            }
938 938
        }
939 939
        while( k-- ) {
940
            if( get_cabac_bypass( &h->cabac ) )
941
                mvd += 1 << k;
940
            mvd += get_cabac_bypass( &h->cabac )<<k;
942 941
        }
943 942
    }
944 943
    return get_cabac_bypass_sign( &h->cabac, -mvd );

Also available in: Unified diff