[MPlayer-dev-eng] [RFC] split cfg-common.h

Diego Biurrun diego at biurrun.de
Wed Mar 5 01:01:35 CET 2008


Currently cfg-common.h is split into two parts by the MAIN_CONF
preprocessor condition.  This allows cfg-mplayer.h and cfg-mencoder.h,
to #include it twice, once with MAIN_CONF #defined and once without.

The very same effect can be achieved by simply splitting cfg-common.h
into two parts.  IMO this deobfuscates cfg-common.h quite a bit.  Here
is a patch to achieve this.

cfg-common_main.h is a terribly good filename.  I'd be glad to hear
better suggestions.

Diego



More information about the MPlayer-dev-eng mailing list