提交 8d8d2b73 编写于 作者: E Erik Hovland 提交者: Benoit Fouet

Fix a mem leak in vc1_decode_frame().

Patch by Erik Hovland erik hovland org

Originally committed as revision 14277 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 be390a4e
......@@ -4005,6 +4005,7 @@ static int vc1_decode_frame(AVCodecContext *avctx,
divider = find_next_marker(buf, buf + buf_size);
if((divider == (buf + buf_size)) || AV_RB32(divider) != VC1_CODE_FIELD){
av_log(avctx, AV_LOG_ERROR, "Error in WVC1 interlaced frame\n");
av_free(buf2);
return -1;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册