Fix unpacking of Dirac SeqHdr
authorDavid Flynn <davidf@woaf.net>
Tue, 4 Nov 2008 14:48:20 +0000 (14:48 +0000)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Tue, 4 Nov 2008 15:57:46 +0000 (17:57 +0200)
Individual flags on overridden interlace coding modes are nolonger
transmitted.  Just a single uint.

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
modules/demux/ogg.c

index 2a85c3f..4e888aa 100644 (file)
@@ -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 {