1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

asfdec: ignore too tiny indexes

Fixes Ticket1521

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-08-14 03:21:08 +02:00
parent 5e3900c7a5
commit e47d979cab

View File

@ -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);
}