mirror of https://github.com/mpv-player/mpv
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15058 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f2312ef605
commit
d621bc66d2
|
@ -89,7 +89,6 @@ static int open_s(stream_t *stream,int mode, void* opts, int* file_format) {
|
||||||
f=open(p->device,O_RDONLY);
|
f=open(p->device,O_RDONLY);
|
||||||
if(f<0){
|
if(f<0){
|
||||||
mp_msg(MSGT_OPEN,MSGL_ERR,MSGTR_CdDevNotfound,p->device);
|
mp_msg(MSGT_OPEN,MSGL_ERR,MSGTR_CdDevNotfound,p->device);
|
||||||
close(f);
|
|
||||||
m_struct_free(&stream_opts,opts);
|
m_struct_free(&stream_opts,opts);
|
||||||
return STREAM_ERROR;
|
return STREAM_ERROR;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue