[FFmpeg-devel] dv_read_seek over 2GB fix

Maksym Veremeyenko verem
Mon Jun 18 18:03:41 CEST 2007


Michael Niedermayer ?????:

> 
> offset_t url_fseek(ByteIOContext *s, offset_t offset, int whence)
> {
> [...]
>         return AVERROR(EINVAL);
> [...]
>         offset_t res = AVERROR(EPIPE);
> 
> 
>> this value re-returned to av_seek_frame that 
>> do not care about error code - it's interesting only in sign of returned 
>> value from:
> 
> its not relevant if any current code checks for specific errors or just
> error vs. no error, the code should properly pass error codes
this version of attached patch returns 0 on success or negative error code.


-- 
________________________________________
Maksym Veremeyenko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dv_read_seek_over_2gb_fix2.patch
Type: text/x-patch
Size: 435 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070618/7f40a12e/attachment.bin>



More information about the ffmpeg-devel mailing list