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
1 changed files with 1 additions and 1 deletions

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