m_config.c: cosmetics: Move functions to avoid forward declarations
[mplayer.git] / libmpcodecs / ad_internal.h
bloba04d3f616553d1954db4681a278a909d1325a1aa
1 /*
2 * This file is part of MPlayer.
4 * MPlayer is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * MPlayer is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License along
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 #ifndef MPLAYER_AD_INTERNAL_H
20 #define MPLAYER_AD_INTERNAL_H
22 #include "codec-cfg.h"
23 #include "libaf/af_format.h"
25 #include "stream/stream.h"
26 #include "libmpdemux/demuxer.h"
27 #include "libmpdemux/stheader.h"
29 #include "ad.h"
31 static int init(sh_audio_t *sh);
32 static int preinit(sh_audio_t *sh);
33 static void uninit(sh_audio_t *sh);
34 static int control(sh_audio_t *sh,int cmd,void* arg, ...);
35 static int decode_audio(sh_audio_t *sh,unsigned char *buffer,int minlen,int maxlen);
37 #define LIBAD_EXTERN(x) const ad_functions_t mpcodecs_ad_##x = {\
38 &info,\
39 preinit,\
40 init,\
41 uninit,\
42 control,\
43 decode_audio\
46 #endif /* MPLAYER_AD_INTERNAL_H */