diff options
author | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-05-13 13:31:35 +0000 |
---|---|---|
committer | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-05-13 13:31:35 +0000 |
commit | e4b8999c9bc2fe7ac826afcbf7eadee4ab3748c3 (patch) | |
tree | 7be76fff9688daa0b328c6f47408b2384789cabb | |
parent | b6a7934eb5ae4d2bbf435aca79a51ffa4b8ff6c3 (diff) | |
download | mpv-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
-rw-r--r-- | libvo/vo_dxr2.c | 6 |
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 { |