asf: don't seek back on EOF.
authorRonald S. Bultje <rsbultje@gmail.com>
Wed, 29 Feb 2012 00:13:46 +0000 (16:13 -0800)
committerRonald S. Bultje <rsbultje@gmail.com>
Wed, 29 Feb 2012 00:25:05 +0000 (16:25 -0800)
commitbb6d5411e1e1a8e0608b1af1c4addee654dcbac5
treefe1e3a143d42523fa60480cef7f16ce20b0297ca
parent6e57a02b9f639af53acfa9fc742c1341400818f8
asf: don't seek back on EOF.

Seeking back on EOF will reset the EOF flag, causing us to re-enter
the loop to find the next marker in the ASF file, thus potentially
causing an infinite loop.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
libavformat/asfdec.c