From 868a4b1303257610b05fe68f2f04259961a99c4f Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Fri, 4 Sep 2009 13:42:43 +0200 Subject: qtdemux: prevent a spurious debug warning --- gst/qtdemux/qtdemux.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gst/qtdemux') 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 { -- cgit