Originally committed as revision 22590 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini authored on 2010/03/18 09:22:58... | ... |
@@ -156,7 +156,7 @@ int64_t url_fseek(ByteIOContext *s, int64_t offset, int whence) |
156 | 156 |
while(s->pos < offset && !s->eof_reached) |
157 | 157 |
fill_buffer(s); |
158 | 158 |
if (s->eof_reached) |
159 |
- return AVERROR(EPIPE); |
|
159 |
+ return AVERROR_EOF; |
|
160 | 160 |
s->buf_ptr = s->buf_end + offset - s->pos; |
161 | 161 |
} else { |
162 | 162 |
int64_t res = AVERROR(EPIPE); |