From 3b63c95450973da5b5dd6c6cb595569dbea0faf9 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Sun, 28 Jun 2009 17:39:23 +0200 Subject: [PATCH] asfdemux: Remove useless check. We already have checked for it above. --- gst/asfdemux/gstasfdemux.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gst/asfdemux/gstasfdemux.c b/gst/asfdemux/gstasfdemux.c index c8557ba1ee..0673b41b67 100644 --- a/gst/asfdemux/gstasfdemux.c +++ b/gst/asfdemux/gstasfdemux.c @@ -1190,11 +1190,8 @@ gst_asf_demux_find_stream_with_complete_payload (GstASFDemux * demux) continue; } } - } - /* Now see if there's a complete payload queued for this stream */ - if (stream->payloads->len > 0) { - AsfPayload *payload; + /* Now see if there's a complete payload queued for this stream */ payload = &g_array_index (stream->payloads, AsfPayload, 0); if (!gst_asf_payload_is_complete (payload))