aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/lcl.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-09-23 09:42:25 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-09-23 09:42:25 +0000
commitb43b426a8bc11da50db36e4797142da17f75d86f (patch)
tree45c19d2db503f244966394fc8d8c00130a33a547 /libavcodec/lcl.c
parent72f89c4ca7077d71e4270a716b669b50d3573a74 (diff)
downloadffmpeg-b43b426a8bc11da50db36e4797142da17f75d86f.tar.gz
segfault fix by (Kostya <cannonball at bw-team dot com>)
Originally committed as revision 3497 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/lcl.c')
-rw-r--r--libavcodec/lcl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/lcl.c b/libavcodec/lcl.c
index 9a8591a899..46e835a31a 100644
--- a/libavcodec/lcl.c
+++ b/libavcodec/lcl.c
@@ -843,7 +843,7 @@ static int encode_end(AVCodecContext *avctx)
LclContext *c = avctx->priv_data;
av_freep(&avctx->extradata);
- av_freep(c->comp_buf);
+ av_freep(&c->comp_buf);
#ifdef CONFIG_ZLIB
deflateEnd(&(c->zstream));
#endif