[FFmpeg-soc] [soc]: r3244 - wmapro/wma3dec.c
Diego Biurrun
diego at biurrun.de
Thu Aug 14 17:53:11 CEST 2008
On Thu, Aug 14, 2008 at 05:47:49PM +0200, Sascha Sommer wrote:
>
> On Donnerstag, 14. August 2008, Diego Biurrun wrote:
> > 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...
>
> For some lines special measures needed to be taken.
> I thought this was a sandbox afterall.
I would say not that much of a sandbox ;-)
Diego
More information about the FFmpeg-soc
mailing list