summaryrefslogtreecommitdiffstats
path: root/gst/qtdemux
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2009-09-04 13:42:43 +0200
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2009-09-04 13:51:25 +0200
commit868a4b1303257610b05fe68f2f04259961a99c4f (patch)
treedc9ec5ed82d3dbba052987359d66b1d543db738e /gst/qtdemux
parent686f8376a833bbf12749198111a1e24fb9781e78 (diff)
qtdemux: prevent a spurious debug warning
Diffstat (limited to 'gst/qtdemux')
-rw-r--r--gst/qtdemux/qtdemux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c
index cf85c9a6..7f34ded0 100644
--- a/gst/qtdemux/qtdemux.c
+++ b/gst/qtdemux/qtdemux.c
@@ -2638,8 +2638,7 @@ gst_qtdemux_chain (GstPad * sinkpad, GstBuffer * inbuf)
g_node_destroy (demux->moov_node);
demux->moov_node = NULL;
GST_DEBUG_OBJECT (demux, "Finished parsing the header");
- }
- if (fourcc == FOURCC_ftyp) {
+ } else if (fourcc == FOURCC_ftyp) {
GST_DEBUG_OBJECT (demux, "Parsing [ftyp]");
qtdemux_parse_ftyp (demux, data, demux->neededbytes);
} else {