[FFmpeg-devel] [PATCH] wmapro support for frame len bits estimation

Sascha Sommer saschasommer
Fri Jun 12 17:53:17 CEST 2009


On Freitag, 12. Juni 2009, Sascha Sommer wrote:
> Hi,
>
> On Freitag, 12. Juni 2009, Michael Niedermayer wrote:
> > On Fri, Jun 12, 2009 at 02:39:10PM +0200, Sascha Sommer wrote:
> > > Hi,
> > >
> > > attached patch adds support for wmapro in the frame len bits estimation
> > > code. It depends on [PATCH] factor out wma_get_frame_len_bits
> > >
> > > Regards
> > >
> > > Sascha
> > >
> > >  wma.c |   16 +++++++++++++++-
> > >  1 file changed, 15 insertions(+), 1 deletion(-)
> > > fd74bd530db21f07efb70f61640c9637cbe7d635 
> > > wma_frame_len_bits_wmapro.patch --- wma.c.org	2009-06-12
> > > 14:15:40.000000000 +0200
> > > +++ wma.c	2009-06-12 14:14:49.000000000 +0200
> > > @@ -80,8 +80,22 @@
> > >      else if (sample_rate <= 22050 ||
> > >               (sample_rate <= 32000 && version == 1))
> > >          frame_len_bits = 10;
> > > -    else
> > > +    else if (sample_rate <= 48000)
> > >          frame_len_bits = 11;
> > > +    else if (sample_rate <= 96000)
> > > +        frame_len_bits = 12;
> >
> > {} between if/else would be nice
>
> Ok, will do that once it is commited.
>

Changed for the whole file.

Regards

Sascha





More information about the ffmpeg-devel mailing list