[Ffmpeg-devel] [PATCH] nutdec: fix end-of-file detection

Guillaume POIRIER poirierg
Mon Mar 19 01:00:51 CET 2007


On 3/1/07, Michael Niedermayer <michaelni at gmx.at> wrote:
> Hi
> On Tue, Feb 27, 2007 at 06:13:36PM +0100, Clemens Ladisch wrote:
> > At the end of a nut file, the check for url_feof() fails because the
> > eof flag was cleared by the url_fseek() call that was used to skip over
> > the index packet.
> >
> > This patch moves the eof check to where we can be sure that we actually
> > have tried to read at the current position.
> looks ok

Seems to work. Applied.


More information about the ffmpeg-devel mailing list