view libao2/audio_plugin_internal.h @ 10609:e6b63c53402e

there were no checks in MP_CMD_SUB for sh_video, so mplayer immediately segfaulted when such keys were pressed on non-video files
author alex
date Thu, 14 Aug 2003 21:29:39 +0000
parents 12b1790038b0
children
line wrap: on
line source

// prototypes:
static int control(int cmd, void *arg);
static int init();
static void uninit();
static void reset();
static int play();

#define LIBAO_PLUGIN_EXTERN(x) ao_plugin_functions_t audio_plugin_##x =\
{\
	&info,\
	control,\
	init,\
        uninit,\
	reset,\
	play,\
};