[vlc-devel] [PATCH 23/23] HACK: force A/52 into fixed point mode

Rafaël Carré rafael.carre at gmail.com
Sun Oct 4 00:35:51 CEST 2009


On Sat, 3 Oct 2009 21:41:56 +0300
"Rémi Denis-Courmont" <remi at remlab.net> wrote:

> Le samedi 3 octobre 2009 21:15:12 Rafaël Carré, vous avez écrit :
> > Le 03/10/2009 19:52, Rémi Denis-Courmont a écrit :
> > > We need to match the way liba52 is built in contribs.
> > > ---
> > >  modules/audio_filter/converter/a52tofloat32.c |    1 +
> > >  1 files changed, 1 insertions(+), 0 deletions(-)
> > >
> > > diff --git a/modules/audio_filter/converter/a52tofloat32.c
> > > b/modules/audio_filter/converter/a52tofloat32.c index
> > > cacac62..fc008e4 100644
> > > --- a/modules/audio_filter/converter/a52tofloat32.c
> > > +++ b/modules/audio_filter/converter/a52tofloat32.c
> > > @@ -36,6 +36,7 @@
> > >
> > >  #include <stdint.h>                                         /*
> > > int16_t .. */
> > >
> > > +#define LIBA52_FIXED
> > >  #ifdef USE_A52DEC_TREE                                 /* liba52
> > > header file */ #   include "include/a52.h"
> > >  #else
> > 
> > There's nothing in a52 header telling how the lib was built ?
> 
> No, it's stored in an internal liba52 header :(
> 

If the file to be included is different between float & fixed point
version there could be a check in configure.ac (although it's still
dirty)

-- 
Rafaël Carré
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20091004/d437f3c4/attachment.sig>


More information about the vlc-devel mailing list