diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-01-19 00:26:39 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-01-19 00:26:39 +0000 |
commit | 700b5abb9bfad24a141241bc2c0c2e19b4722318 (patch) | |
tree | 4ba0c557afca0e6c4050018746a406c26e22827f /src/libsputext/demux_sputext.c | |
parent | 703ba00e157e08035262393e8af9bb4b4d979c4c (diff) | |
download | xine-lib-700b5abb9bfad24a141241bc2c0c2e19b4722318.tar.gz xine-lib-700b5abb9bfad24a141241bc2c0c2e19b4722318.tar.bz2 |
Make get_description get_identifier get_extensions get_mimetypes return a constant string, and make the extensions and mrl vaiables usually declared when testing extension demux strategy constants too.
CVS patchset: 8523
CVS date: 2007/01/19 00:26:39
Diffstat (limited to 'src/libsputext/demux_sputext.c')
-rw-r--r-- | src/libsputext/demux_sputext.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libsputext/demux_sputext.c b/src/libsputext/demux_sputext.c index 13fbd1db1..33d446458 100644 --- a/src/libsputext/demux_sputext.c +++ b/src/libsputext/demux_sputext.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_sputext.c,v 1.51 2007/01/18 11:57:16 mshopf Exp $ + * $Id: demux_sputext.c,v 1.52 2007/01/19 00:26:41 dgp85 Exp $ * * code based on old libsputext/xine_decoder.c * @@ -1452,19 +1452,19 @@ static demux_plugin_t *open_demux_plugin (demux_class_t *class_gen, xine_stream_ return NULL; } -static char *get_demux_description (demux_class_t *this_gen) { +static const char *get_demux_description (demux_class_t *this_gen) { return "sputext demuxer plugin"; } -static char *get_demux_identifier (demux_class_t *this_gen) { +static const char *get_demux_identifier (demux_class_t *this_gen) { return "sputext"; } -static char *get_demux_extensions (demux_class_t *this_gen) { +static const char *get_demux_extensions (demux_class_t *this_gen) { return "asc txt sub srt smi ssa"; } -static char *get_demux_mimetypes (demux_class_t *this_gen) { +static const char *get_demux_mimetypes (demux_class_t *this_gen) { return NULL; /* do not report this mimetype, it might confuse browsers. */ |