[Ffmpeg-devel] [PATCH] ffplay seeking because url_feof() not working

Michael Niedermayer michaelni
Sat Jun 18 02:15:22 CEST 2005


Hi

On Wednesday 15 June 2005 16:14, Andy Parkins wrote:
> Hello,
>
> I've attached a patch to ffplay.  Seeking was failing for me towards the
> end of a file because in the test:
>
>   if (url_feof(&ic->pb) && url_ferror(&ic->pb) == 0) {
>
> url_feof(&ic->pb) is not returning true when it should be.  I've simply
> removed this test and added an error message.  I think that by implication,
> because we know at this point that av_read_frame() has failed, if there is
> no error we must be at EOF.  Am I right?

the patch contains lots of unneeded whitespace changes

[...]
-- 
Michael





More information about the ffmpeg-devel mailing list