[FFmpeg-devel] av_read_frame don't want to return EOF

Zdeněk Skulínek zdenek.skulinek
Tue Aug 3 18:45:07 CEST 2010


in some files, av_read_frame do not return AVERROR_EOF on end of file.

in the part of ffmpeg , (line 2577)

..decode_thread main loop

ret = av_read_frame(ic, pkt)
if(ret<0)
	{
	printf("error or eof\n");
	...
	}
..

How to workaroud this behavior?

Thanks

Zdenek




More information about the ffmpeg-devel mailing list