mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-18 05:24:42 +00:00
Check ff_init_me()s return value.
Originally committed as revision 15137 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
6f55b11ec6
commit
719f37026a
@ -2775,7 +2775,8 @@ static int encode_picture(MpegEncContext *s, int picture_number)
|
||||
ff_update_duplicate_context(s->thread_context[i], s);
|
||||
}
|
||||
|
||||
ff_init_me(s);
|
||||
if(ff_init_me(s)<0)
|
||||
return -1;
|
||||
|
||||
/* Estimate motion for every MB */
|
||||
if(s->pict_type != FF_I_TYPE){
|
||||
|
Loading…
Reference in New Issue
Block a user