diff options
author | Paul B Mahol <onemda@gmail.com> | 2018-08-30 11:35:07 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2018-08-31 17:45:35 +0200 |
commit | aeb73c73e112130fe344529bebb71bca3d286cb9 (patch) | |
tree | b57c0f0ee6482530438eebe4c95945fb095f14c2 /libavcodec/dnxhdenc.h | |
parent | 56f68a099cc607658118e00cad30569103ae3751 (diff) | |
download | ffmpeg-streaming-aeb73c73e112130fe344529bebb71bca3d286cb9.zip ffmpeg-streaming-aeb73c73e112130fe344529bebb71bca3d286cb9.tar.gz |
avcodec/dnxhdenc: stop leaking memory when initalization fails
Fixes #6593.
Diffstat (limited to 'libavcodec/dnxhdenc.h')
-rw-r--r-- | libavcodec/dnxhdenc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/dnxhdenc.h b/libavcodec/dnxhdenc.h index 963821a..7b0d862 100644 --- a/libavcodec/dnxhdenc.h +++ b/libavcodec/dnxhdenc.h @@ -86,6 +86,8 @@ typedef struct DNXHDEncContext { unsigned frame_bits; uint8_t *src[3]; + uint32_t *orig_vlc_codes; + uint8_t *orig_vlc_bits; uint32_t *vlc_codes; uint8_t *vlc_bits; uint16_t *run_codes; |