Commit b43b426a authored by Michael Niedermayer's avatar Michael Niedermayer

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

Originally committed as revision 3497 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 72f89c4c
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment