aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2010-12-14 14:50:20 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2010-12-14 14:50:20 +0000
commit2be209b21328d178d5ef45c9ad0ba8ed7c5eb306 (patch)
treee32d14897bf9a117a5111ec386bebf12cfc88013
parent7e5a4bf8bae0e7334b862860822b1eab5d626a72 (diff)
downloadffmpeg-2be209b21328d178d5ef45c9ad0ba8ed7c5eb306.tar.gz
Change some unsigned types to signed types in AC3EncodeContext
Originally committed as revision 25946 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/ac3enc.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c
index fbd650c8c0..24fd022b94 100644
--- a/libavcodec/ac3enc.c
+++ b/libavcodec/ac3enc.c
@@ -36,28 +36,28 @@
typedef struct AC3EncodeContext {
PutBitContext pb;
- unsigned int bitstream_id;
- unsigned int bitstream_mode;
+ int bitstream_id;
+ int bitstream_mode;
int bit_rate;
- unsigned int sample_rate;
+ int sample_rate;
int sr_shift;
- unsigned int sr_code; /* frequency */
+ int sr_code; /* frequency */
- unsigned int frame_size_min; /* minimum frame size in case rounding is necessary */
- unsigned int frame_size; /* current frame size in words */
- unsigned int frame_size_code;
- unsigned int bits_written;
- unsigned int samples_written;
+ int frame_size_min; /* minimum frame size in case rounding is necessary */
+ int frame_size; /* current frame size in words */
+ int frame_size_code;
+ int bits_written;
+ int samples_written;
int nb_all_channels;
int nb_channels;
int lfe;
int lfe_channel;
- unsigned int channel_mode;
+ int channel_mode;
const uint8_t *channel_map;
- unsigned int chbwcod[AC3_MAX_CHANNELS];
+ int chbwcod[AC3_MAX_CHANNELS];
int nb_coefs[AC3_MAX_CHANNELS];
/* bitrate allocation control */