summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gst/asfdemux/gstasfdemux.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gst/asfdemux/gstasfdemux.c b/gst/asfdemux/gstasfdemux.c
index c7fa0d42..89404dd8 100644
--- a/gst/asfdemux/gstasfdemux.c
+++ b/gst/asfdemux/gstasfdemux.c
@@ -1090,9 +1090,12 @@ gst_asf_demux_pull_indices (GstASFDemux * demux)
gst_buffer_map (buf, &map, GST_MAP_READ);
g_assert (map.size >= 16 + 8);
if (!asf_demux_peek_object (demux, map.data, 16 + 8, &obj, TRUE)) {
+ GST_DEBUG_OBJECT (demux, "No valid object, corrupted index, ignoring");
+ GST_MEMDUMP_OBJECT (demux, "Corrupted index ?", map.data, MIN (map.size,
+ 64));
gst_buffer_unmap (buf, &map);
gst_buffer_replace (&buf, NULL);
- ret = GST_FLOW_ERROR;
+ /* Non-fatal, return */
break;
}
gst_buffer_unmap (buf, &map);