[FFmpeg-devel] [PATCH] Mask away AVSEEK_FORCE properly in some checks in url_fseek()

Tomas Härdin tomas.hardin
Tue Mar 23 13:20:58 CET 2010


Hi

I've a bug in url_fseek(): it always returns AVERROR(EINVAL) when whence
has AVSEEK_FORCE. The solution is to simply mask away AVSEEK_FORCE in
the three places whence is tested for equality. Patch attached.

/Tomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: whencefix.patch
Type: text/x-patch
Size: 662 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100323/e3f592fb/attachment.bin>



More information about the ffmpeg-devel mailing list