asfdec_o: prevent overflow causing seekback
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Wed, 6 Jan 2016 13:09:22 +0000 (14:09 +0100)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Wed, 27 Jan 2016 22:45:45 +0000 (23:45 +0100)
commit782257ba66e0b0f4b6fa006a5ca059773478ccf5
treee22a9be858845ab95cbcfe12562f0416be2f46f1
parente188c267c8719943aa7f6d5ada2bedb452830c1f
asfdec_o: prevent overflow causing seekback

This fixes infinite loops.

Reviewed-by: Alexandra Hájková <alexandra.khirnova@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit 74474750f1ac522730dae271a5ea5003caa8b73c)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavformat/asfdec_o.c