[FFmpeg-devel] [PATCH] fix configure if only AC3 selected

Michael Niedermayer michaelni
Thu May 13 20:28:22 CEST 2010


On Thu, May 13, 2010 at 12:31:25PM +0100, M?ns Rullg?rd wrote:
> Carl Eugen Hoyos <cehoyos at ag.or.at> writes:
> 
> > On Thursday 13 May 2010 00:01:55 Justin Ruggles wrote:
> >
> >> I would rather avoid compiling extra files unnecessarily.  Two
> >> alternative patches attached.  Not sure which, if either, would be the
> >> better approach.
> >
> > Attached is a third possibility.
> >
> > Please comment, Carl Eugen
> > Index: libavcodec/ac3dec.c
> > ===================================================================
> > --- libavcodec/ac3dec.c	(revision 23107)
> > +++ libavcodec/ac3dec.c	(working copy)
> > @@ -1268,7 +1268,7 @@
> >      }
> >
> >      /* apply spectral extension to high frequency bins */
> > -    if (s->spx_in_use) {
> > +    if (s->spx_in_use && CONFIG_EAC3_DECODER) {
> >          ff_eac3_apply_spectral_extension(s);
> >      }
> 
> This is the smallest patch so far.  I like it.

i like it too

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100513/977388b4/attachment.pgp>



More information about the ffmpeg-devel mailing list