---
 libavcodec/ac3enc.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git libavcodec/ac3enc.c libavcodec/ac3enc.c
index 8cc69c6..2e6f8e4 100644
--- libavcodec/ac3enc.c
+++ libavcodec/ac3enc.c
@@ -710,9 +710,9 @@ static void reset_block_bap(AC3EncodeContext *s)
             s->blocks[blk].bap[ch] = &s->bap_buffer[AC3_MAX_COEFS * (blk * s->channels + ch)];
 }
 
-static int csnr_bit_alloc(AC3EncodeContext *s,
-                          int16_t mask[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS][50],
-                          int16_t psd[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS][AC3_MAX_COEFS])
+static int cbr_bit_alloc(AC3EncodeContext *s,
+                         int16_t mask[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS][50],
+                         int16_t psd[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS][AC3_MAX_COEFS])
 {
     int ch;
     int snr_offset, snr_incr, bits_left;
@@ -763,7 +763,7 @@ static int compute_bit_allocation(AC3EncodeContext *s,
 
     bit_alloc_masking(s, encoded_exp, exp_strategy, psd, mask);
 
-    return csnr_bit_alloc(s, mask, psd);
+    return cbr_bit_alloc(s, mask, psd);
 }
 
 static av_cold int set_channel_info(AC3EncodeContext *s, int channels,
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to