diff options
author | nick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-13 10:30:10 +0000 |
---|---|---|
committer | nick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-13 10:30:10 +0000 |
commit | cb50547add95b09b608ff2e29fac9573a5501faf (patch) | |
tree | 9210ab99bc8e80f63e759e183915258ebb8296b5 /libvo/vosub_vidix.c | |
parent | 696272825f842dbc8e89b62d3fdeae9dbdc391cc (diff) | |
download | mpv-cb50547add95b09b608ff2e29fac9573a5501faf.tar.bz2 mpv-cb50547add95b09b608ff2e29fac9573a5501faf.tar.xz |
test for preinit errors and correct handling subdevice
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4133 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vosub_vidix.c')
-rw-r--r-- | libvo/vosub_vidix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vosub_vidix.c b/libvo/vosub_vidix.c index 076eede950..ad69993e9c 100644 --- a/libvo/vosub_vidix.c +++ b/libvo/vosub_vidix.c @@ -57,7 +57,7 @@ int vidix_preinit(const char *drvname,void *server) return -1; } vidix_handler = vdlOpen("/usr/lib/mplayer/vidix/", - drvname ? drvname[0] == ':' ? &drvname[1] : NULL : NULL, + drvname ? drvname[0] == ':' ? &drvname[1] : drvname[0] ? drvname : NULL : NULL, TYPE_OUTPUT, verbose); if(vidix_handler == NULL) |