summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_fli.c
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2002-08-31 18:20:50 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2002-08-31 18:20:50 +0000
commitafc81cc68718866b7e9f6b24a72e52cc7c47e55a (patch)
treef9f8544531c37966846065f44593f0a7ceae1bd8 /src/demuxers/demux_fli.c
parenta8ace67f22ee381e2195e410ec136d3d67f209fb (diff)
downloadxine-lib-afc81cc68718866b7e9f6b24a72e52cc7c47e55a.tar.gz
xine-lib-afc81cc68718866b7e9f6b24a72e52cc7c47e55a.tar.bz2
fix mrl ending registration to cure xine-ui mrl browser segfaults
CVS patchset: 2570 CVS date: 2002/08/31 18:20:50
Diffstat (limited to 'src/demuxers/demux_fli.c')
-rw-r--r--src/demuxers/demux_fli.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/demuxers/demux_fli.c b/src/demuxers/demux_fli.c
index b1dad2ec4..af3776da7 100644
--- a/src/demuxers/demux_fli.c
+++ b/src/demuxers/demux_fli.c
@@ -22,7 +22,7 @@
* avoid while programming a FLI decoder, visit:
* http://www.pcisys.net/~melanson/codecs/
*
- * $Id: demux_fli.c,v 1.5 2002/07/15 00:54:12 tmmm Exp $
+ * $Id: demux_fli.c,v 1.6 2002/08/31 18:20:50 mroi Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -416,6 +416,11 @@ demux_plugin_t *init_demuxer_plugin(int iface, xine_t *xine) {
this->config = xine->config;
this->xine = xine;
+ (void *) this->config->register_string(this->config,
+ "mrl.ends_fli", VALID_ENDS,
+ "valid mrls ending for fli demuxer",
+ NULL, NULL, NULL);
+
this->demux_plugin.interface_version = DEMUXER_PLUGIN_IFACE_VERSION;
this->demux_plugin.open = demux_fli_open;
this->demux_plugin.start = demux_fli_start;