From ae2d3e3b25a39328e878f67a63be006e4c8d5251 Mon Sep 17 00:00:00 2001 From: Stefan Gehrer Date: Tue, 10 Feb 2009 16:36:01 +0000 Subject: [PATCH] time_code has 24 bits, not 16 Originally committed as revision 17134 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/cavsdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/cavsdec.c b/libavcodec/cavsdec.c index dbbe2d9e09..a2c8a1ad91 100644 --- a/libavcodec/cavsdec.c +++ b/libavcodec/cavsdec.c @@ -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])