asfdec: check for too small size in asf_read_unknown
authorAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Wed, 6 Jan 2016 19:59:58 +0000 (20:59 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Sun, 7 Feb 2016 02:12:33 +0000 (03:12 +0100)
commitbf50607ab76157ba251a01f5baa5cf67b23b2ee9
treea6886322ad01abe7776db1960f31c40e33d1365e
parente4d1621c6e51c623061676439a55dfab89d330f6
asfdec: check for too small size in asf_read_unknown

This fixes infinite loops due to seeking back.

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