diff options
-rw-r--r-- | src/demuxers/demux_cda.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/demuxers/demux_cda.c b/src/demuxers/demux_cda.c index 0e9b2314f..de37933a2 100644 --- a/src/demuxers/demux_cda.c +++ b/src/demuxers/demux_cda.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_cda.c,v 1.31 2002/11/01 17:41:06 mroi Exp $ + * $Id: demux_cda.c,v 1.32 2002/11/02 12:50:14 tmattern Exp $ */ #ifdef HAVE_CONFIG_H @@ -209,11 +209,14 @@ static demux_plugin_t *open_plugin (demux_class_t *class_gen, xine_stream_t *str char *MRL = input->get_mrl(input); media = strstr(MRL, ":/"); - if(media) { + if (media) { if(strncasecmp(MRL, "cda", 3) != 0) { free (this); return NULL; } + } else { + free (this); + return NULL; } } break; |