diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c index 55f4efa9df..c383598895 100644 --- a/stream/stream_dvd.c +++ b/stream/stream_dvd.c @@ -1108,8 +1108,8 @@ static int ifo_stream_open (stream_t *stream, int mode, void *opts, int *file_fo spriv=calloc(1, sizeof(struct stream_priv_s)); spriv->device = strdup(dirname(stream->url)); - if(sscanf(filename, "vts_%02d_", &spriv->title)!=1) - spriv->title=1; + if(sscanf(filename, "vts_%02d_", &spriv->title)!=1) + spriv->title=1; free(filename); free(stream->url);