changeset 6070:bad23f7960f1

10L Crash if no subdriver given and overlay enabled
author albeu
date Mon, 13 May 2002 13:31:35 +0000
parents 8e88e92fe331
children 506212428423
files libvo/vo_dxr2.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_dxr2.c	Mon May 13 13:15:40 2002 +0000
+++ b/libvo/vo_dxr2.c	Mon May 13 13:31:35 2002 +0000
@@ -561,9 +561,9 @@
       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 {