diff options
Diffstat (limited to 'src/demuxers/demux_mpgaudio.c')
-rw-r--r-- | src/demuxers/demux_mpgaudio.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/demuxers/demux_mpgaudio.c b/src/demuxers/demux_mpgaudio.c index 606cc8f82..94c0cb30e 100644 --- a/src/demuxers/demux_mpgaudio.c +++ b/src/demuxers/demux_mpgaudio.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: demux_mpgaudio.c,v 1.22 2001/10/03 17:15:43 jkeil Exp $ + * $Id: demux_mpgaudio.c,v 1.23 2001/10/17 20:33:09 guenter Exp $ * * demultiplexer for mpeg audio (i.e. mp3) streams * @@ -420,11 +420,12 @@ static int demux_mpgaudio_get_stream_length (demux_plugin_t *this_gen) { } -demux_plugin_t *init_demuxer_plugin(int iface, config_values_t *config) { +demux_plugin_t *init_demuxer_plugin(int iface, xine_t *xine) { demux_mpgaudio_t *this; + config_values_t *config; - if (iface != 3) { + if (iface != 4) { printf( "demux_mpeg: plugin doesn't support plugin API version %d.\n" "demux_mpeg: this means there's a version mismatch between xine and this " "demux_mpeg: demuxer plugin.\nInstalling current demux plugins should help.\n", @@ -432,7 +433,8 @@ demux_plugin_t *init_demuxer_plugin(int iface, config_values_t *config) { return NULL; } - this = malloc (sizeof (demux_mpgaudio_t)); + this = malloc (sizeof (demux_mpgaudio_t)); + config = xine->config; xine_debug = config->lookup_int (config, "xine_debug", 0); this->demux_plugin.interface_version = DEMUX_MPGAUDIO_IFACE_VERSION; |