asfdemux: Remove useless check. We already have checked for it above.

This commit is contained in:
Edward Hervey 2009-06-28 17:39:23 +02:00
parent a3c832405e
commit 3b63c95450

View file

@ -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))