lavf: ffio_limit(), treat avio_size()==0 as error.
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 31 Dec 2011 14:27:51 +0000 (15:27 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 3 Jan 2012 21:44:34 +0000 (22:44 +0100)
commit4ae111cf71e11a78fd00d421abf19ce5df4ab349
tree16ac8eb052f2bfaa7186db6b730b1d148c61657e
parent0bf48d24d7f220b70f5968b8f691abf2f7a398b3
lavf: ffio_limit(), treat avio_size()==0 as error.

This works around issues arising from inputs that claim to have a
filesize of 0.

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

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