[SCM] libav/experimental: Fix a mem leak in vc1_decode_frame(). Patch by Erik Hovland erik hovland org
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:25:34 UTC 2013
The following commit has been merged in the experimental branch:
commit 8d8d2b73914a47cf9ce5ca4ff96de6fd067b84a6
Author: Erik Hovland <erik at hovland.org>
Date: Fri Jul 18 07:15:50 2008 +0000
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
diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c
index f1a7232..6edf746 100644
--- a/libavcodec/vc1.c
+++ b/libavcodec/vc1.c
@@ -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;
}
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list