gst/qtdemux/qtdemux.c: Fix parsing of mp4a version 0 atoms. Fixes #465774.
authorWim Taymans <wim.taymans@gmail.com>
Sun, 12 Aug 2007 14:35:41 +0000 (14:35 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Sun, 12 Aug 2007 14:35:41 +0000 (14:35 +0000)
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_parse_node):
Fix parsing of mp4a version 0 atoms. Fixes #465774.

ChangeLog
gst/qtdemux/qtdemux.c

index 4c7fe50..c57cd86 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
+
+       * gst/qtdemux/qtdemux.c: (qtdemux_parse_node):
+       Fix parsing of mp4a version 0 atoms. Fixes #465774.
+
 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
 
        * gst/rtp/gstrtpilbcdepay.c:
index c2129d9..531a1ef 100644 (file)
@@ -2144,6 +2144,8 @@ qtdemux_parse_node (GstQTDemux * qtdemux, GNode * node, guint8 * buffer,
         /* parse any esds descriptors */
         switch (version) {
           case 0x00000000:
+            offset = 0x24;
+            break;
           case 0x00010000:
             offset = 0x34;
             break;