view libmpcodecs/ad_internal.h @ 24217:2d5cf446b8d7

warning fixes: realcodecs/drv2.c: In function 'build_crc': realcodecs/drv2.c:316: warning: unused variable 'b' realcodecs/drv2.c: In function 'RV20toYUV420Transform': realcodecs/drv2.c:348: warning: unused variable 'crc2' realcodecs/drv2.c:348: warning: unused variable 'crc1' realcodecs/drv2.c:348: warning: unused variable 'len'
author diego
date Mon, 27 Aug 2007 11:04:10 +0000
parents f29d31547c31
children 6ac1ece1f9fe
line wrap: on
line source


#include "codec-cfg.h"
#include "libaf/af_format.h"

#include "stream/stream.h"
#include "libmpdemux/demuxer.h"
#include "libmpdemux/stheader.h"

#include "ad.h"

extern int audio_output_channels;
static int init(sh_audio_t *sh);
static int preinit(sh_audio_t *sh);
static void uninit(sh_audio_t *sh);
static int control(sh_audio_t *sh,int cmd,void* arg, ...);
static int decode_audio(sh_audio_t *sh,unsigned char *buffer,int minlen,int maxlen);

#define LIBAD_EXTERN(x) ad_functions_t mpcodecs_ad_##x = {\
	&info,\
	preinit,\
	init,\
        uninit,\
	control,\
	decode_audio\
};