From a60c74bf2d3d56705a103d24dd8133a2995ae41f Mon Sep 17 00:00:00 2001 From: David Flynn Date: Thu, 27 Nov 2008 11:58:48 +0000 Subject: [PATCH] demux/ogg: Update OggDirac granule_shift (should be 22 not 32) Signed-off-by: David Flynn Signed-off-by: Laurent Aimar --- modules/demux/ogg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c index ed8c5763de..9070accf1a 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 */ -- 2.20.1