# HG changeset patch # User diego # Date 1276880799 0 # Node ID c9e6eb55607e29e672bc868c0aa67a3391dec9f8 # Parent 262d9759bfc50e4bd8bd5ce3d219d4044e1b41cb Move audio_output_channels/fakemono extern variable declarations to dec_audio.h. diff -r 262d9759bfc5 -r c9e6eb55607e cfg-common.h --- a/cfg-common.h Fri Jun 18 17:03:13 2010 +0000 +++ b/cfg-common.h Fri Jun 18 17:06:39 2010 +0000 @@ -26,6 +26,7 @@ #include "mp_msg.h" #include "libmpcodecs/ad.h" +#include "libmpcodecs/dec_audio.h" #include "libmpcodecs/dec_video.h" #include "libmpcodecs/vd.h" #include "libmpdemux/demux_ts.h" @@ -33,10 +34,6 @@ #include "stream/network.h" #include "codec-cfg.h" -/* from dec_audio, currently used for ac3surround decoder only */ -extern int audio_output_channels; -extern int fakemono; - extern int network_prefer_ipv4; extern int reuse_socket; diff -r 262d9759bfc5 -r c9e6eb55607e libmpcodecs/dec_audio.h --- a/libmpcodecs/dec_audio.h Fri Jun 18 17:03:13 2010 +0000 +++ b/libmpcodecs/dec_audio.h Fri Jun 18 17:06:39 2010 +0000 @@ -21,6 +21,9 @@ #include "libmpdemux/stheader.h" +extern int audio_output_channels; +extern int fakemono; + // dec_audio.c: void afm_help(void); int init_best_audio_codec(sh_audio_t *sh_audio, char** audio_codec_list, char** audio_fm_list);