[FFmpeg-devel] [PATCH] wav: Don't avio_seek() if we know we'll run into EOF

Tomas Härdin tomas.hardin at codemill.se
Fri May 27 22:01:32 CEST 2011


Hi

The attached patch fixes ticket #250. It turns out http.c doesn't set 
eof_reached if seeking past EOF like file and pipe do. The protocol 
probably should, but I chose to make the demuxer avoid the seek instead.

Anyway, works fine with http, file and pipe at least. Metadata in the 
footer also works fine (except for pipe and non-seekable HTTP of course).

/Tomas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-wav-Don-t-avio_seek-if-we-know-we-ll-run-into-EOF.patch
Type: text/x-patch
Size: 2724 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110527/9136c8e3/attachment.bin>


More information about the ffmpeg-devel mailing list