diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-03 11:54:12 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-03 13:29:30 +0200 |
commit | 8bc3cdf00722834ae73f48dd6a29af3cec71bf9b (patch) | |
tree | f8f798d9b670b4bd02931e9871fd7826a71aff7f | |
parent | 639c60f5aa5a23b2f23d7f934a0f1146b72f9f04 (diff) | |
download | ffmpeg-8bc3cdf00722834ae73f48dd6a29af3cec71bf9b.tar.gz |
avcodec/rawdec: Free bitstream_buf
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
(cherry picked from commit 5c0f6d53da154ef51933eb5820424612aedda50d)
-rw-r--r-- | libavcodec/rawdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c index c18c3dd3e1..aaafbd46eb 100644 --- a/libavcodec/rawdec.c +++ b/libavcodec/rawdec.c @@ -493,6 +493,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; } |