asfdemux: Remove useless check. We already have checked for it above.
authorEdward Hervey <bilboed@bilboed.com>
Sun, 28 Jun 2009 15:39:23 +0000 (17:39 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Sun, 28 Jun 2009 15:52:38 +0000 (17:52 +0200)
gst/asfdemux/gstasfdemux.c

index c8557ba..0673b41 100644 (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))