Commit a60c74bf authored by David Flynn's avatar David Flynn Committed by Laurent Aimar

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

Signed-off-by: default avatarDavid Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: default avatarLaurent Aimar <fenrir@videolan.org>
parent 8e550e85
...@@ -1782,7 +1782,7 @@ static void Ogg_ReadDiracHeader( logical_stream_t *p_stream, ...@@ -1782,7 +1782,7 @@ static void Ogg_ReadDiracHeader( logical_stream_t *p_stream,
p_stream->fmt.i_cat = VIDEO_ES; p_stream->fmt.i_cat = VIDEO_ES;
p_stream->fmt.i_codec = VLC_FOURCC( 'd','r','a','c' ); 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 /* Backing up stream headers is not required -- seqhdrs are repeated
* thoughout the stream at suitable decoding start points */ * thoughout the stream at suitable decoding start points */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment