aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dcahuff.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-06 03:53:46 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-16 18:07:29 +0200
commit8819860f34bb2065ec82d3b39d5053c13fb9ab31 (patch)
treef50dcaf6a527a48e0d7776f2ce8a67e2a189845d /libavcodec/dcahuff.h
parent649a2d8d526795adf57bc87481668ca6615ee0c4 (diff)
downloadffmpeg-8819860f34bb2065ec82d3b39d5053c13fb9ab31.tar.gz
avcodec/dca_core, dcahuff: Don't use DCAVLC unnecessarily
The ff_dca_vlc_transition_mode VLCs don't use an offset at all, so just use ordinary VLCs for them. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/dcahuff.h')
-rw-r--r--libavcodec/dcahuff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dcahuff.h b/libavcodec/dcahuff.h
index c0e04b725a..87e1fd1cea 100644
--- a/libavcodec/dcahuff.h
+++ b/libavcodec/dcahuff.h
@@ -40,7 +40,7 @@ typedef struct DCAVLC {
} DCAVLC;
extern DCAVLC ff_dca_vlc_bit_allocation;
-extern DCAVLC ff_dca_vlc_transition_mode;
+extern VLC ff_dca_vlc_transition_mode[4];
extern DCAVLC ff_dca_vlc_scale_factor;
extern DCAVLC ff_dca_vlc_quant_index[DCA_CODE_BOOKS];