[FFmpeg-devel] [PATCH] url_fskip: Warn if the url_fseek call failed

Ronald S. Bultje rsbultje
Fri Jul 16 16:19:42 CEST 2010


On Fri, Jul 16, 2010 at 9:31 AM, Martin Storsj? <martin at martin.st> wrote:
> $subj - url_fskip returns void at the moment, so if the wrapped url_fseek
> call fails, at least tell the poor user that is debugging it what's going
> wrong.

Sometimes the seek intentionally is wrong, e.g. if the demuxer tests
if the protocol can seek to a particular position.

> Or would it be ok to change url_fskip to return int and pass the error
> code through, and check for the errors in the individual demuxers?

Probably... Michael can make a call here, he's maintainer.


More information about the ffmpeg-devel mailing list