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

Michael Niedermayer michaelni
Wed Aug 4 03:42:56 CEST 2010


On Tue, Aug 03, 2010 at 06:45:07PM +0200, Zden?k Skul?nek wrote:
> 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?

patch ;)

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100804/5d74ce92/attachment.pgp>



More information about the ffmpeg-devel mailing list