Commit 719f3702 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

Check ff_init_me()s return value.

Originally committed as revision 15137 to svn://
parent 6f55b11e
......@@ -2775,7 +2775,8 @@ static int encode_picture(MpegEncContext *s, int picture_number)
ff_update_duplicate_context(s->thread_context[i], s);
return -1;
/* Estimate motion for every MB */
if(s->pict_type != FF_I_TYPE){
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment