diff options
Diffstat (limited to 'src/demuxers/demux_asf.c')
-rw-r--r-- | src/demuxers/demux_asf.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/demuxers/demux_asf.c b/src/demuxers/demux_asf.c index 548258850..1f9f53c8c 100644 --- a/src/demuxers/demux_asf.c +++ b/src/demuxers/demux_asf.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_asf.c,v 1.1 2001/10/14 00:18:27 guenter Exp $ + * $Id: demux_asf.c,v 1.2 2001/10/17 20:33:09 guenter Exp $ * * demultiplexer for asf streams * @@ -1076,11 +1076,12 @@ static int demux_asf_get_stream_length (demux_plugin_t *this_gen) { return this->length; } -demux_plugin_t *init_demuxer_plugin(int iface, config_values_t *config) { +demux_plugin_t *init_demuxer_plugin(int iface, xine_t *xine) { - demux_asf_t *this; + demux_asf_t *this; + config_values_t *config; - if (iface != 3) { + if (iface != 4) { printf( "demux_asf: plugin doesn't support plugin API version %d.\n" "demux_asf: this means there's a version mismatch between xine and this " "demux_asf: demuxer plugin.\nInstalling current demux plugins should help.\n", @@ -1088,7 +1089,8 @@ demux_plugin_t *init_demuxer_plugin(int iface, config_values_t *config) { return NULL; } - this = xmalloc (sizeof (demux_asf_t)); + this = xmalloc (sizeof (demux_asf_t)); + config = xine->config; xine_debug = config->lookup_int (config, "xine_debug", 0); this->demux_plugin.interface_version = DEMUXER_PLUGIN_IFACE_VERSION; |