[FFmpeg-devel] ASF EOF detection

Vinod G design4mmedia
Sat Dec 22 09:27:15 CET 2007


On Dec 21, 2007 3:08 PM, Michael Niedermayer <michaelni at gmx.at> wrote:

> On Fri, Dec 21, 2007 at 12:17:39PM -0800, Vinod G wrote:
> > When end of ASF file is reached, only AVERROR_IO returned, with no
> > indication of EOF in ByteIOContext.eof_reached.
> >
> > Is the mod given below the correct place to add this detection:
>
> the suggested change is wrong, eof is not reached in the bytestream
> so eof_reached should not be set
>
> [...]
> --
>

I believe you mean that the detection should be at the file read level,
rather than at the bytestream level.
Any clue on why this detection doesn't happen in case of asf files
correctly?
I am looking at this myself and hopefully will have a better solution soon.




More information about the ffmpeg-devel mailing list