]> git.sesse.net Git - vlc/commitdiff
demux/ogg: Update OggDirac granule_shift (should be 22 not 32)
authorDavid Flynn <davidf@woaf.net>
Thu, 27 Nov 2008 11:58:48 +0000 (11:58 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Sat, 29 Nov 2008 10:11:44 +0000 (11:11 +0100)
Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
modules/demux/ogg.c

index ed8c5763def2ab3527faac5c15b770981c1d9e51..9070accf1abcc359d5fe56429edc2d7207d8b192 100644 (file)
@@ -1782,7 +1782,7 @@ static void Ogg_ReadDiracHeader( logical_stream_t *p_stream,
 
     p_stream->fmt.i_cat = VIDEO_ES;
     p_stream->fmt.i_codec = VLC_FOURCC( 'd','r','a','c' );
-    p_stream->i_granule_shift = 32;
+    p_stream->i_granule_shift = 22; /* not 32 */
 
     /* Backing up stream headers is not required -- seqhdrs are repeated
      * thoughout the stream at suitable decoding start points */