mirror of
https://github.com/mpv-player/mpv
synced 2025-01-19 05:41:16 +00:00
stream_dvd: fix .ifo redirection
This was blatantly broken after stream->url was changed to talloc.
This commit is contained in:
parent
29b0be400c
commit
06996810bf
@ -1085,8 +1085,7 @@ static int ifo_stream_open (stream_t *stream, int mode, void *opts)
|
||||
spriv->title=1;
|
||||
|
||||
free(filename);
|
||||
free(stream->url);
|
||||
stream->url=strdup("dvd://");
|
||||
stream->url=talloc_strdup(stream, "dvd://");
|
||||
|
||||
return open_s(stream, mode, spriv);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user