[FFmpeg-devel] [PATCH] Extra build options for ALS (and others)

Reimar Döffinger Reimar.Doeffinger
Fri Nov 27 18:08:33 CET 2009


On Fri, Nov 27, 2009 at 02:42:18PM +0000, M?ns Rullg?rd wrote:
> > In some way there is something like that already. In libavcodec/Makefile
> > there is a block which is also extending the implicit rule that way:
> >
> > ifdef CONFIG_MPEGAUDIO_HP
> > $(SUBDIR)mpegaudio_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DFRAC_BITS=23
> > $(SUBDIR)mpegaudio_tablegen.ho: CPPFLAGS += -DFRAC_BITS=23
> > else
> > $(SUBDIR)mpegaudio_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DFRAC_BITS=15
> > $(SUBDIR)mpegaudio_tablegen.ho: CPPFLAGS += -DFRAC_BITS=15
> > endif
> 
> I'd like to get rid of that somehow.

Maybe config.h could be split into e.g. a feature-config and a environment/target
config, so that the one providing CONFIG_MPEGAUDIO_HP could be included
in the table generators?



More information about the ffmpeg-devel mailing list