Browse Source

avcodec/rawdec: Free bitstream_buf

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
master
Andreas Rheinhardt 4 years ago
parent
commit
5c0f6d53da
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/rawdec.c

+ 1
- 0
libavcodec/rawdec.c View File

@@ -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;
}



Loading…
Cancel
Save