avidec: move eof check before continue.
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 20 Dec 2011 15:52:42 +0000 (16:52 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 3 Jan 2012 18:55:54 +0000 (19:55 +0100)
commitd561025e4914bb1542afde08e9edd2db4eb5ae80
treed4fd9e9d9ad516c40e1d80ed45657ff6b69179dd
parent61fb7e17a25b62c3bbc9f72e3a23baca2a5beed9
avidec: move eof check before continue.
Fixes a infinite loop
Fixes half of Ticket800
Bug found by Oana Stratulat

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 3c7f75bd84b4c30a0f86a491a37f759dfaaab86d)

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