[gst-cvs] gst-plugins-good: qtdemux: fix qt style string tag extraction

Mark Nauwelaerts mnauw at kemper.freedesktop.org
Tue Aug 18 10:05:55 PDT 2009


Module: gst-plugins-good
Branch: master
Commit: 15d17763c0c8a89ef3e65a9ae1252f1aa1449a94
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=15d17763c0c8a89ef3e65a9ae1252f1aa1449a94

Author: Mark Nauwelaerts <mark.nauwelaerts at collabora.co.uk>
Date:   Tue Aug 18 17:16:11 2009 +0200

qtdemux: fix qt style string tag extraction

QT style tags are tested on starting with (C) symbol using >>,
and (unsigned) int (may) have different >> behaviour.
Fixes #592232.

---

 gst/qtdemux/qtdemux.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c
index e6b4a72..fd23045 100644
--- a/gst/qtdemux/qtdemux.c
+++ b/gst/qtdemux/qtdemux.c
@@ -4727,7 +4727,7 @@ qtdemux_tag_add_str (GstQTDemux * qtdemux, const char *tag, const char *dummy,
   GNode *data;
   char *s;
   int len;
-  int type;
+  guint32 type;
   int offset;
 
   data = qtdemux_tree_get_child_by_type (node, FOURCC_data);





More information about the Gstreamer-commits mailing list