[vlc-devel] [PATCH 1/3] [demux/ogg] Fix unpacking of Dirac SeqHdr

davidf+nntp at woaf.net davidf+nntp at woaf.net
Tue Nov 4 15:48:20 CET 2008


From: David Flynn <davidf at woaf.net>

Individual flags on overridden interlace coding modes are nolonger
transmitted.  Just a single uint.

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

diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c
index 2a85c3f..4e888aa 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 {
-- 
1.5.6.5




More information about the vlc-devel mailing list