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

Git pushed a commit to branch master
in repository ffmpeg.

commit cc7a69a36a67acb661ceb2339a41488fb7409b57
Author:     Ayoub Nabil Boubagrat 
<[email protected]>
AuthorDate: Sat Sep 5 12:56:25 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Wed Sep 9 18:06:23 2026 +0000

    avcodec/ac3enc: use the bit-width table for mantissas
    
    replace the ungrouped mantissa cases with the existing table.
    grouped mantissas stay unchanged.
    
    Signed-off-by: Ayoub Nabil Boubagrat 
<[email protected]>
---
 libavcodec/ac3enc.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c
index 8760166b8b..47dbe94cd3 100644
--- a/libavcodec/ac3enc.c
+++ b/libavcodec/ac3enc.c
@@ -1898,11 +1898,8 @@ static void output_audio_block(AC3EncodeContext *s, 
PutBitContext *pb, int blk)
             case 0:                                          break;
             case 1: if (q != 128) put_bits (pb,   5, q); break;
             case 2: if (q != 128) put_bits (pb,   7, q); break;
-            case 3:               put_sbits(pb,   3, q); break;
             case 4: if (q != 128) put_bits (pb,   7, q); break;
-            case 14:              put_sbits(pb,  14, q); break;
-            case 15:              put_sbits(pb,  16, q); break;
-            default:              put_sbits(pb, b-1, q); break;
+            default:              put_sbits(pb, ff_ac3_bap_bits[b], q); break;
             }
         }
         if (ch == CPL_CH)

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to