time_code has 24 bits, not 16
authorStefan Gehrer <stefan.gehrer@gmx.de>
Tue, 10 Feb 2009 16:36:01 +0000 (16:36 +0000)
committerStefan Gehrer <stefan.gehrer@gmx.de>
Tue, 10 Feb 2009 16:36:01 +0000 (16:36 +0000)
Originally committed as revision 17134 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/cavsdec.c

index dbbe2d9..a2c8a1a 100644 (file)
@@ -469,7 +469,7 @@ static int decode_pic(AVSContext *h) {
     } else {
         h->pic_type = FF_I_TYPE;
         if(get_bits1(&s->gb))
-            skip_bits(&s->gb,16);//time_code
+            skip_bits(&s->gb,24);//time_code
     }
     /* release last B frame */
     if(h->picture.data[0])