aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rawdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-03 11:54:12 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-03 11:54:12 +0200
commit5c0f6d53da154ef51933eb5820424612aedda50d (patch)
tree8af530d2dc5b698deab29b85557c1c67e2b0cabd /libavcodec/rawdec.c
parent090dc381a19423b2a9f303d564afaff5f1db9a4b (diff)
downloadffmpeg-5c0f6d53da154ef51933eb5820424612aedda50d.tar.gz
avcodec/rawdec: Free bitstream_buf
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/rawdec.c')
-rw-r--r--libavcodec/rawdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c
index 1badb69180..d3756328ba 100644
--- a/libavcodec/rawdec.c
+++ b/libavcodec/rawdec.c
@@ -484,6 +484,7 @@ static av_cold int raw_close_decoder(AVCodecContext *avctx)
RawVideoContext *context = avctx->priv_data;
av_buffer_unref(&context->palette);
+ av_freep(&context->bitstream_buf);
return 0;
}