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

Michael Niedermayer michaelni at gmx.at
Sat Dec 31 17:08:23 CET 2011


On Sat, Dec 31, 2011 at 04:51:44PM +0100, Reimar Döffinger wrote:
> 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.

yes, i agree, feel free to replace my implemenattion

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-cvslog/attachments/20111231/10dbb877/attachment.asc>


More information about the ffmpeg-cvslog mailing list