summaryrefslogtreecommitdiff
path: root/libavcodec/cfhd.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-03 18:02:17 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-05 14:28:13 +0200
commit9e9c99366a9606bbcdfc805b1631dac006df28b2 (patch)
treed8f36b0bd3c3c9842b850ca4702ac720e72705c5 /libavcodec/cfhd.h
parent320c36d9c77cfeb9d9ec4cb856400546aba45eba (diff)
avcodec/cfhd, cfhddata: Free VLC as soon as it is not needed
The VLC is only used to initialize RL VLC. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/cfhd.h')
-rw-r--r--libavcodec/cfhd.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/cfhd.h b/libavcodec/cfhd.h
index 4c066da5fc..9b09c91262 100644
--- a/libavcodec/cfhd.h
+++ b/libavcodec/cfhd.h
@@ -26,7 +26,6 @@
#include "avcodec.h"
#include "bytestream.h"
#include "get_bits.h"
-#include "vlc.h"
#include "cfhddsp.h"
enum CFHDParam {
@@ -141,10 +140,7 @@ typedef struct CFHDContext {
AVCodecContext *avctx;
CFHD_RL_VLC_ELEM table_9_rl_vlc[2088];
- VLC vlc_9;
-
CFHD_RL_VLC_ELEM table_18_rl_vlc[4572];
- VLC vlc_18;
int lut[2][256];