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 ed8c576..9070acc 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 */