[vlc-devel] [PATCH 3/7] demux/ogg: Update OggDirac granule_shift (should be 22 not 32)

davidf+nntp at woaf.net davidf+nntp at woaf.net
Thu Nov 27 12:58:48 CET 2008


From: David Flynn <davidf at woaf.net>


Signed-off-by: David Flynn <davidf at rd.bbc.co.uk>
---
 modules/demux/ogg.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c
index ed8c576..9070acc 100644
--- a/modules/demux/ogg.c
+++ b/modules/demux/ogg.c
@@ -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 */
-- 
1.5.6.5




More information about the vlc-devel mailing list