Commit 622eb836 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

10l (segfault fix)

Originally committed as revision 2633 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent bba04f1e
......@@ -677,6 +677,7 @@ void ff_er_frame_end(MpegEncContext *s){
av_log(s->avctx, AV_LOG_ERROR, "Warning MVs not available\n");
s->current_picture.motion_val[0]= av_mallocz(size * 2 * sizeof(int16_t)); //FIXME
s->current_picture.motion_val[1]= av_mallocz(size * 2 * sizeof(int16_t));
}
if(s->avctx->debug&FF_DEBUG_ER){
......
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