1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-08-07 18:14:16 +02:00

segfault fix by (Kostya <cannonball at bw-team dot com>)

Originally committed as revision 3497 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2004-09-23 09:42:25 +00:00
parent 72f89c4ca7
commit b43b426a8b

View File

@ -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