OSDN Git Service

small typo patch by (Gildas Bazin <gbazin at altern dot org>)
authorGildas Bazin <gbazi@altern.org>
Fri, 22 Oct 2004 19:55:57 +0000 (19:55 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 22 Oct 2004 19:55:57 +0000 (19:55 +0000)
Originally committed as revision 3624 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.c

index 83c89dd..6ad4bf6 100644 (file)
@@ -4115,7 +4115,7 @@ static int decode_cabac_b_mb_sub_type( H264Context *h ) {
     if( !get_cabac( &h->cabac, &h->cabac_state[36] ) )
         return 0;   /* B_Direct_8x8 */
     if( !get_cabac( &h->cabac, &h->cabac_state[37] ) )
-        return 1 + get_cabac( &h->cabac, &h->cabac_state[38] ); /* B_L0_8x8, B_L1_8x8 */
+        return 1 + get_cabac( &h->cabac, &h->cabac_state[39] ); /* B_L0_8x8, B_L1_8x8 */
     type = 3;
     if( get_cabac( &h->cabac, &h->cabac_state[38] ) ) {
         if( get_cabac( &h->cabac, &h->cabac_state[39] ) )