asfdec_o: make sure packet_size is non-zero before seeking
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Wed, 6 Jan 2016 18:03:17 +0000 (19:03 +0100)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Thu, 14 Jan 2016 23:39:30 +0000 (00:39 +0100)
commit3776a72962b0622af17c4aef89a831da2cbaceca
tree6af571b1254d62268f4c81ec744e887859f4a3fd
parent74474750f1ac522730dae271a5ea5003caa8b73c
asfdec_o: make sure packet_size is non-zero before seeking

This fixes infinite loops due to seeking back.

Reviewed-by: Alexandra Hájková <alexandra.khirnova@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavformat/asfdec_o.c