summaryrefslogtreecommitdiff
path: root/libavcodec/wmalosslessdec.c
diff options
context:
space:
mode:
authorMashiat Sarker Shakkhar <shahriman_ams@yahoo.com>2011-11-04 02:50:54 +0600
committerMichael Niedermayer <michaelni@gmx.at>2011-11-11 03:18:46 +0100
commit7344b75c63c348cbeb8132320c61a95018033452 (patch)
treefb5ff0c45ef5797f87363c8d816778b57c52b132 /libavcodec/wmalosslessdec.c
parent6d91045d835635fe889f684bdf77f68e00b15d0b (diff)
Cosmetics
(cherry picked from commit 3197968bedf9f0d6d3cccf11cfbd19c23063493b) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/wmalosslessdec.c')
-rw-r--r--libavcodec/wmalosslessdec.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c
index 7e8acf3b61..9f04055f58 100644
--- a/libavcodec/wmalosslessdec.c
+++ b/libavcodec/wmalosslessdec.c
@@ -216,9 +216,9 @@ typedef struct WmallDecodeCtx {
int8_t esc_len; ///< length of escaped coefficients
uint8_t num_chgroups; ///< number of channel groups
- WmallChannelGrp chgroup[WMALL_MAX_CHANNELS]; ///< channel group information
+ WmallChannelGrp chgroup[WMALL_MAX_CHANNELS]; ///< channel group information
- WmallChannelCtx channel[WMALL_MAX_CHANNELS]; ///< per channel data
+ WmallChannelCtx channel[WMALL_MAX_CHANNELS]; ///< per channel data
// WMA lossless
@@ -363,10 +363,10 @@ static av_cold int decode_init(AVCodecContext *avctx)
s->channel[i].prev_block_len = s->samples_per_frame;
/** subframe info */
- log2_max_num_subframes = ((s->decode_flags & 0x38) >> 3);
- s->max_num_subframes = 1 << log2_max_num_subframes;
+ log2_max_num_subframes = ((s->decode_flags & 0x38) >> 3);
+ s->max_num_subframes = 1 << log2_max_num_subframes;
s->max_subframe_len_bit = 0;
- s->subframe_len_bits = av_log2(log2_max_num_subframes) + 1;
+ s->subframe_len_bits = av_log2(log2_max_num_subframes) + 1;
num_possible_block_sizes = log2_max_num_subframes + 1;
s->min_samples_per_subframe = s->samples_per_frame / s->max_num_subframes;