[FFmpeg-devel] [PATCH] add forgotten check for frame_start() return value

Reimar Döffinger Reimar.Doeffinger
Wed Feb 18 16:19:51 CET 2009


On Wed, Feb 18, 2009 at 04:00:02PM +0100, Michael Niedermayer wrote:
> On Wed, Feb 18, 2009 at 11:25:27AM +0100, Reimar D?ffinger wrote:
> > if get_buffer fails, the H.264 decoder may crash.
> > This patch fixes this by adding an obviously forgotten return value
> > check for frame_start:
> 
> why is the other frame_start setting first_field= 0 and yours not?

Because setting first_field is not necessary to stop it crashing (thus
even if it should be done it could be considered better to apply
separately) and I do not want to make changes I neither understand
nor know how to test.




More information about the ffmpeg-devel mailing list