Commit 4c6f7107 authored by iive's avatar iive

make MPV_frame_start fail on get_buffer failer


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2089 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ee30896f
......@@ -981,7 +981,8 @@ alloc:
if(s->current_picture_ptr)
pic->coded_picture_number= s->current_picture_ptr->coded_picture_number+1;
alloc_picture(s, (Picture*)pic, 0);
if( alloc_picture(s, (Picture*)pic, 0) < 0)
return -1;
s->current_picture_ptr= &s->picture[i];
}
......
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