[FFmpeg-cvslog] asf: Do not skip data streams

Luca Barbato git at videolan.org
Tue Jun 30 12:49:30 CEST 2015


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Sun Jun 28 17:03:02 2015 +0200| [5bdfc17189e4ea63c6b46b6d5256852fcb409d68] | committer: Luca Barbato

asf: Do not skip data streams

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5bdfc17189e4ea63c6b46b6d5256852fcb409d68
---

 libavformat/asfdec.c |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index 8f46098..c12d8c7 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:



More information about the ffmpeg-cvslog mailing list