Mercurial > libavcodec.hg
diff pnm.c @ 9004:aae80543bc6e libavcodec
Check return value of frame_start(), this avoids a crash if AVCodecContext::get_buffer failed.
Not sure if returning -1 is the best possible solution but at least avoids the crash.
author | reimar |
---|---|
date | Sun, 22 Feb 2009 09:51:58 +0000 |
parents | eb98d61af310 |
children | de31b10455cc |