[FFmpeg-soc] [soc]: r3244 - wmapro/wma3dec.c

Diego Biurrun diego at biurrun.de
Thu Aug 14 13:18:35 CEST 2008


On Wed, Aug 13, 2008 at 11:36:11PM +0200, faust3 wrote:
> 
> Log:
> shortened some more long lines

Ummmm....

> --- wmapro/wma3dec.c	(original)
> +++ wmapro/wma3dec.c	Wed Aug 13 23:36:11 2008
> @@ -327,48 +327,59 @@ static int wma_decode_tilehdr(WMA3Decode
>               if(subframe_len != missing_samples / num_channels){
> -                  int log2_subframe_len;
> +                  int log2_subframe_len = 0;
>                    /* 1 bit indicates if the subframe len is zero */
>                    if(subframe_len_zero_bit){
> -                      log2_subframe_len = get_bits1(gb);
> -                      if(log2_subframe_len){
> -                          log2_subframe_len = get_bits(gb,subframe_len_bits-1) + 1;
> +                      if(get_bits1(gb)){
> +                          log2_subframe_len = get_bits(gb,subframe_len_bits-1);
> +                          ++log2_subframe_len;

This is all things except long line shortening...

Diego



More information about the FFmpeg-soc mailing list