asfdec: ignore too tiny indexes
Fixes Ticket1521 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
5e3900c7a5
commit
e47d979cab
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user