diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-06-21 13:39:02 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-06-22 12:18:10 -0400 |
commit | 0e4dbe2996cad6d5e0b1c1d702306f3bd8499df9 (patch) | |
tree | 5522eaa3a14a27a2c697ee62e83cc77538f8fe7b /libavcodec/ac3enc.h | |
parent | 2702a6f114f996ddfb334f1d8ddfae50e2c7eef7 (diff) | |
download | ffmpeg-0e4dbe2996cad6d5e0b1c1d702306f3bd8499df9.tar.gz |
ac3enc: avoid masking output in asym_quant() by using signed values for
quantized mantissas.
Diffstat (limited to 'libavcodec/ac3enc.h')
-rw-r--r-- | libavcodec/ac3enc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3enc.h b/libavcodec/ac3enc.h index bf25298940..01abe94e0d 100644 --- a/libavcodec/ac3enc.h +++ b/libavcodec/ac3enc.h @@ -212,7 +212,7 @@ typedef struct AC3EncodeContext { int16_t *psd_buffer; int16_t *band_psd_buffer; int16_t *mask_buffer; - uint16_t *qmant_buffer; + int16_t *qmant_buffer; uint8_t *cpl_coord_exp_buffer; uint8_t *cpl_coord_mant_buffer; |