Fix misbehaviour in url_fseek() when seeking fails.
authorRonald S. Bultje <rsbultje@gmail.com>
Tue, 30 Jan 2007 10:48:39 +0000 (10:48 +0000)
committerGuillaume Poirier <gpoirier@mplayerhq.hu>
Tue, 30 Jan 2007 10:48:39 +0000 (10:48 +0000)
commit68fcdbf1e570d16ca76e28a1f799dfa72a62e79a
tree03123e3eba4c8e8911ef88b7ddca16b9fac495e1
parenteabbae730cf732afeb7c2a085e0e5c1e7b1b8614
Fix misbehaviour in url_fseek() when seeking fails.
The return value of the seek function is -1 on error, not -EPIPE (the return value in url_seek() if no seek function pointer is set)
Patch by Ronald S. Bultje % rbultje A ronald P bitfreak P net %
Original thread:
date: Dec 31, 2006 9:25 PM
subject: [Ffmpeg-devel] Re: [PATCH] file length handling

Originally committed as revision 7766 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/aviobuf.c