mirror of
https://github.com/mpv-player/mpv
synced 2025-01-09 01:36:25 +01:00
remove duplicated code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27008 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b7391dde39
commit
4e08014790
@ -644,15 +644,10 @@ int vidix_preinit(const char *drvname,vo_functions_t *server)
|
||||
mp_msg(MSGT_VO,MSGL_ERR, MSGTR_LIBVO_SUB_VIDIX_YouHaveWrongVersionOfVidixLibrary);
|
||||
return -1;
|
||||
}
|
||||
#ifndef __MINGW32__
|
||||
|
||||
vidix_handler = vdlOpen(drvname ? drvname[0] == ':' ? &drvname[1] : drvname[0] ? drvname : NULL : NULL,
|
||||
TYPE_OUTPUT,
|
||||
verbose);
|
||||
#else
|
||||
vidix_handler = vdlOpen(drvname ? drvname[0] == ':' ? &drvname[1] : drvname[0] ? drvname : NULL : NULL,
|
||||
TYPE_OUTPUT,
|
||||
verbose);
|
||||
#endif
|
||||
|
||||
if(vidix_handler == NULL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user