mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
72f89c4ca7
commit
b43b426a8b
|
@ -843,7 +843,7 @@ static int encode_end(AVCodecContext *avctx)
|
||||||
LclContext *c = avctx->priv_data;
|
LclContext *c = avctx->priv_data;
|
||||||
|
|
||||||
av_freep(&avctx->extradata);
|
av_freep(&avctx->extradata);
|
||||||
av_freep(c->comp_buf);
|
av_freep(&c->comp_buf);
|
||||||
#ifdef CONFIG_ZLIB
|
#ifdef CONFIG_ZLIB
|
||||||
deflateEnd(&(c->zstream));
|
deflateEnd(&(c->zstream));
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue