mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-19 15:15:12 +08: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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user