[FFmpeg-devel] [PATCH] add forgotten check for frame_start() return value
Wed Feb 18 21:33:48 CET 2009
On Wed, Feb 18, 2009 at 09:18:14PM +0100, Michael Niedermayer wrote:
> On Wed, Feb 18, 2009 at 04:42:34PM +0100, Reimar D?ffinger wrote:
> > Not really, but it is all I know.
> > Or more precisely I know:
> > 1) it prevents a crash, so it is better than the current code
> why does frame_start() fail ?
When get_buffer fails (which I think according to the API is allowed).
In my case it was due to using MPlayer's menu filter with VDPAU (so a
MPlayer bug), still it does not seem unreasonable that e.g. some devices
might run out of RAM, particularly for H.264.
More information about the ffmpeg-devel