diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-08-14 05:21:08 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-14 05:21:08 +0400 |
commit | e47d979cab6dd5b0650fad0058510ce0fcf23083 (patch) | |
tree | f99fa004966ed684d5b33f075cce36319547da5f /libavformat/asfdec.c | |
parent | 5e3900c7a53cbe3a376ff06c52e54108e94e6427 (diff) |
asfdec: ignore too tiny indexes
Fixes Ticket1521
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/asfdec.c')
-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); } |