asfdec: check avio_skip in asf_read_simple_index
authorAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Thu, 7 Jan 2016 09:22:00 +0000 (10:22 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Sun, 7 Feb 2016 02:12:33 +0000 (03:12 +0100)
commite4d1621c6e51c623061676439a55dfab89d330f6
tree3a47a37a1d992438af05c8142642a78535230fae
parenta32dbf2aed3bb720a28141e1e84284ade3969a49
asfdec: check avio_skip in asf_read_simple_index

The loop can be very long, even though the file is very short.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Alexandra Hájková <alexandra@khirnov.net>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavformat/asfdec.c