]> git.sesse.net Git - ffmpeg/commitdiff
Cosmetics
authorMashiat Sarker Shakkhar <shahriman_ams@yahoo.com>
Thu, 3 Nov 2011 20:50:54 +0000 (02:50 +0600)
committerMashiat Sarker Shakkhar <shahriman_ams@yahoo.com>
Sun, 20 Nov 2011 08:51:38 +0000 (14:51 +0600)
libavcodec/wmalosslessdec.c

index d8f8753c2606414dad6652ec10b21d2fe89b9df4..c116852bba2123daf3bf33277dd4c52453d25f2b 100644 (file)
@@ -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;