ffmdec: fix infinite loop at EOF
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sun, 8 Mar 2015 22:31:48 +0000 (23:31 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 21 Mar 2015 00:52:52 +0000 (01:52 +0100)
commit819955f0c68ef81c840ce88401ef205b7386739f
treefa8ff982543520409f84d1d06ca2a9e2b64413fa
parentb36bda3c82cb80a90c250e7384e9bc0a50ace2b3
ffmdec: fix infinite loop at EOF

If EOF is reached, while skipping bytes, avio_tell(pb) won't change
anymore, resulting in an infinite loop.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 6fa98822eba501a4898fdec5b75acd3026201005)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/ffmdec.c