Mercurial > mplayer.hg
view libao2/audio_plugin_internal.h @ 8638:a2fa276b8ec7
The attached patch fixes a crash on *my* environment with certain DVD's.
The sprintf function has been replaced by an snprintf function to prevent
the buffer overflow.
Erik Oomen <erik.oomen@home.nl>
author | arpi |
---|---|
date | Sun, 29 Dec 2002 15:34:50 +0000 |
parents | bb1d608c73ae |
children | 12b1790038b0 |
line wrap: on
line source
// prototypes: static int control(int cmd,int 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,\ };