[vlc-devel] commit: Fix unpacking of Dirac SeqHdr (David Flynn )

git version control git at videolan.org
Tue Nov 4 16:58:44 CET 2008


vlc | branch: master | David Flynn <davidf at woaf.net> | Tue Nov  4 14:48:20 2008 +0000| [aaee6ea2df72ff0254e4ec82402039bf1ad44b92] | committer: Rémi Denis-Courmont 

Fix unpacking of Dirac SeqHdr

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>
Signed-off-by: Rémi Denis-Courmont <rdenis at simphalempin.com>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=aaee6ea2df72ff0254e4ec82402039bf1ad44b92
---

 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 {




More information about the vlc-devel mailing list