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

Originally committed as revision 3497 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 21 years ago
parent 72f89c4ca7
commit b43b426a8b
  1. 2
      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

Loading…
Cancel
Save