This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new dd2976b9e1 avcodec/mlp: don't duplicate the AV_CRC_8_EBU table
dd2976b9e1 is described below

commit dd2976b9e13f960f94475e5083acd28bded36e82
Author:     James Almer <[email protected]>
AuthorDate: Mon Jan 19 00:19:45 2026 -0300
Commit:     James Almer <[email protected]>
CommitDate: Thu Jan 22 17:44:46 2026 -0300

    avcodec/mlp: don't duplicate the AV_CRC_8_EBU table
    
    Signed-off-by: James Almer <[email protected]>
---
 libavcodec/mlp.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libavcodec/mlp.c b/libavcodec/mlp.c
index 8ea6e6d72e..6a545d45d1 100644
--- a/libavcodec/mlp.c
+++ b/libavcodec/mlp.c
@@ -70,13 +70,11 @@ const AVChannelLayout ff_mlp_ch_layouts[12] = {
 #define CRC_TABLE_SIZE 1024
 #endif
 static AVCRC crc_63[CRC_TABLE_SIZE];
-static AVCRC crc_1D[CRC_TABLE_SIZE];
 static AVCRC crc_2D[CRC_TABLE_SIZE];
 
 static av_cold void mlp_init_crc(void)
 {
     av_crc_init(crc_63, 0,  8,   0x63, sizeof(crc_63));
-    av_crc_init(crc_1D, 0,  8,   0x1D, sizeof(crc_1D));
     av_crc_init(crc_2D, 0, 16, 0x002D, sizeof(crc_2D));
 }
 
@@ -104,6 +102,7 @@ uint8_t ff_mlp_checksum8(const uint8_t *buf, unsigned int 
buf_size)
 
 uint8_t ff_mlp_restart_checksum(const uint8_t *buf, unsigned int bit_size)
 {
+    const AVCRC *crc_1D = av_crc_get_table(AV_CRC_8_EBU);
     int i;
     int num_bytes = (bit_size + 2) / 8;
 

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to