From aaee6ea2df72ff0254e4ec82402039bf1ad44b92 Mon Sep 17 00:00:00 2001 From: David Flynn Date: Tue, 4 Nov 2008 14:48:20 +0000 Subject: [PATCH] Fix unpacking of Dirac SeqHdr MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Individual flags on overridden interlace coding modes are nolonger transmitted. Just a single uint. Signed-off-by: David Flynn Signed-off-by: Rémi Denis-Courmont --- modules/demux/ogg.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c index 2a85c3f276..4e888aa4c2 100644 --- a/modules/demux/ogg.c +++ b/modules/demux/ogg.c @@ -1738,10 +1738,9 @@ static void Ogg_ReadDiracHeader( logical_stream_t *p_stream, if (dirac_bool( &bs )) { dirac_uint( &bs ); /* chroma_format */ } + if (dirac_bool( &bs )) { - if (dirac_bool( &bs )) { /* interlaced */ - dirac_bool( &bs ); /* top_field_first */ - } + dirac_uint( &bs ); /* scan_format */ } static const struct { -- 2.39.2