[FFmpeg-cvslog] avcodec/dcahuff: Remove unused define

Andreas Rheinhardt git at videolan.org
Fri Sep 16 19:42:34 EEST 2022


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Tue Sep  6 15:38:49 2022 +0200| [13cddfc4533a6b36bec7416a8be46f9f6fbc01db] | committer: Andreas Rheinhardt

avcodec/dcahuff: Remove unused define

In reality, the bit allocation VLCs do not use the same number
of bits at all.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=13cddfc4533a6b36bec7416a8be46f9f6fbc01db
---

 libavcodec/dcahuff.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/dcahuff.c b/libavcodec/dcahuff.c
index 8d5541f9d0..d1b64798ab 100644
--- a/libavcodec/dcahuff.c
+++ b/libavcodec/dcahuff.c
@@ -44,7 +44,6 @@ static const uint8_t tmode_bits[TMODE_COUNT][4] = {
     { 2, 2, 2, 2 }
 };
 
-#define BITALLOC_12_VLC_BITS 9
 static const uint8_t bitalloc_12_vlc_bits[DCA_BITALLOC_12_COUNT] = {
     9, 7, 7, 9, 9
 };



More information about the ffmpeg-cvslog mailing list