summaryrefslogtreecommitdiff
path: root/libavformat/asfdec.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2015-06-28 17:03:02 +0200
committerLuca Barbato <lu_zero@gentoo.org>2015-06-28 17:10:54 +0200
commit5bdfc17189e4ea63c6b46b6d5256852fcb409d68 (patch)
tree0f3c84e16493e024e160a5a72f17efb8a64f8cb0 /libavformat/asfdec.c
parent8a26ae5f94e613dbf7eb8e3c60462e966e409cdc (diff)
asf: Do not skip data streams
Diffstat (limited to 'libavformat/asfdec.c')
-rw-r--r--libavformat/asfdec.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index 8f46098632..c12d8c79a0 100644
--- a/libavformat/asfdec.c
+++ b/libavformat/asfdec.c
@@ -747,12 +747,6 @@ static int asf_read_stream_properties(AVFormatContext *s, const GUIDParseTable *
av_init_packet(&asf_st->pkt.avpkt);
asf_st->pkt.data_size = 0;
avio_skip(pb, 4); // skip reserved field
- if (!ts_data_len) {
- av_log(s, AV_LOG_WARNING, "Suspicious data found! ASF stream #%d will be ignored.\n",
- asf_st->stream_index);
- align_position(pb, asf->offset, size);
- return 0;
- }
switch (type) {
case AVMEDIA_TYPE_AUDIO: