[FFmpeg-cvslog] lavf: ffio_limit(), treat avio_size()==0 as error.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Dec 31 16:51:44 CET 2011


On Sat, Dec 31, 2011 at 03:58:06PM +0100, Michael Niedermayer wrote:
> ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Dec 31 15:27:51 2011 +0100| [e6362f3a3cfbabf457fc7ebb2205cbfc043501ee] | committer: Michael Niedermayer
> 
> lavf: ffio_limit(), treat avio_size()==0 as error.
> 
> This works around issues arising from inputs that claim to have a
> filesize of 0.

Sorry, I missed that, so my patch for it is not necessary.
Though I think it is a good idea to print and error when those values
are obviously wrong, applications should fix their protocol
implementations.
And I think putting it there will also make sure the error is only
printed once, so it should not cause a nuisance.


More information about the ffmpeg-cvslog mailing list