diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-08-14 03:21:08 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-14 03:21:08 +0200 |
commit | e47d979cab6dd5b0650fad0058510ce0fcf23083 (patch) | |
tree | f99fa004966ed684d5b33f075cce36319547da5f | |
parent | 5e3900c7a53cbe3a376ff06c52e54108e94e6427 (diff) | |
download | ffmpeg-e47d979cab6dd5b0650fad0058510ce0fcf23083.tar.gz |
asfdec: ignore too tiny indexes
Fixes Ticket1521
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/asfdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index 176b990cb4..74133d9a57 100644 --- a/libavformat/asfdec.c +++ b/libavformat/asfdec.c @@ -1362,7 +1362,7 @@ static void asf_build_simple_index(AVFormatContext *s, int stream_index) last_pos=pos; } } - asf->index_read= ict > 0; + asf->index_read= ict > 1; } avio_seek(s->pb, current_pos, SEEK_SET); } |