summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authoralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-13 13:31:35 +0000
committeralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-13 13:31:35 +0000
commite4b8999c9bc2fe7ac826afcbf7eadee4ab3748c3 (patch)
tree7be76fff9688daa0b328c6f47408b2384789cabb /libvo
parentb6a7934eb5ae4d2bbf435aca79a51ffa4b8ff6c3 (diff)
downloadmpv-e4b8999c9bc2fe7ac826afcbf7eadee4ab3748c3.tar.bz2
mpv-e4b8999c9bc2fe7ac826afcbf7eadee4ab3748c3.tar.xz
10L Crash if no subdriver given and overlay enabled
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6071 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_dxr2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libvo/vo_dxr2.c b/libvo/vo_dxr2.c
index 9db04eb165..88565344f3 100644
--- a/libvo/vo_dxr2.c
+++ b/libvo/vo_dxr2.c
@@ -561,9 +561,9 @@ static uint32_t preinit(const char *arg) {
use_ol = 0;
}
}
-
- if(use_ol && !sub_vo) {
- if(arg)
+
+ if(!sub_vo) {
+ if(use_ol)
mp_msg(MSGT_VO,MSGL_WARN,"VO: [dxr2] Sub driver '%s' not found => no overlay\n",arg);
use_ol = 0;
} else {