[FFmpeg-devel] ftp fix seeking beyond file size
Michael Niedermayer
michaelni at gmx.at
Fri Jun 7 00:50:37 CEST 2013
On Wed, Jun 05, 2013 at 03:57:34PM +0200, Lukasz M wrote:
> Hello,
>
> I attached a patch for review. The aim is to keep ffplay behaviour
> when seeking beyond end of file the same as for file protocol.
> I checked file protocol implementation and the result lseek is
> returned. I made some tests and it returns passed offset value even
> when it is greater than file size.
> I modified ftp protocol to do the same and it works. Just want to
> confirm it is correct solution and not a bug that covers other bug.
I think the way protocol seeks work is the same since a long time so
the behavior of file.c is probably a good reference even though the
fine details possibly arent documented
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Those who are best at talking, realize last or never when they are wrong.
-------------- 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-devel/attachments/20130607/6528e849/attachment.asc>
More information about the ffmpeg-devel
mailing list