[FFmpeg-devel] [PATCH] libavfilter-soc: Make overlay handle still images

Martin Storsjö martin
Thu May 7 23:36:36 CEST 2009

On Thu, 7 May 2009, Vitor Sessak wrote:

> > This can easily be fixed by the first attached patch. (It contains checks
> > both before and after movie_get_frame, to avoid unnecessary calls to the
> > underlying layers after reaching eof.)
> I like this patch. The only nit is that I think that just one check should be
> enough. Please change that and follow Michael's suggestion of AVERROR_EOF and
> I'll commit it (unless V?ctor wants to comment).

Ok, great! Here's an updated version with only a single check and 
returning AVERROR_EOF instead.

// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libavfilter-soc-movie-eof.patch
Type: text/x-diff
Size: 390 bytes
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090508/8e337452/attachment.patch>

More information about the ffmpeg-devel mailing list