mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
avcodec/rawdec: Free bitstream_buf
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> (cherry picked from commit 5c0f6d53da154ef51933eb5820424612aedda50d)
This commit is contained in:
parent
639c60f5aa
commit
8bc3cdf007
@ -493,6 +493,7 @@ static av_cold int raw_close_decoder(AVCodecContext *avctx)
|
|||||||
RawVideoContext *context = avctx->priv_data;
|
RawVideoContext *context = avctx->priv_data;
|
||||||
|
|
||||||
av_buffer_unref(&context->palette);
|
av_buffer_unref(&context->palette);
|
||||||
|
av_freep(&context->bitstream_buf);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user