[vlc-devel] commit: demux/ogg: Update OggDirac granule_shift (should be 22 not 32) ( David Flynn )

git version control git at videolan.org
Sat Nov 29 11:15:44 CET 2008


vlc | branch: master | David Flynn <davidf at woaf.net> | Thu Nov 27 11:58:48 2008 +0000| [a60c74bf2d3d56705a103d24dd8133a2995ae41f] | committer: Laurent Aimar 

demux/ogg: Update OggDirac granule_shift (should be 22 not 32)

Signed-off-by: David Flynn <davidf at rd.bbc.co.uk>
Signed-off-by: Laurent Aimar <fenrir at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a60c74bf2d3d56705a103d24dd8133a2995ae41f
---

 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 */




More information about the vlc-devel mailing list