changeset 33706:489f118781b7

100l, forgot to test without -vobsub.
author reimar
date Sat, 02 Jul 2011 08:17:45 +0000
parents db1b1a1ecba8
children d5d3d2c6b6e3
files mencoder.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mencoder.c	Fri Jul 01 20:54:57 2011 +0000
+++ b/mencoder.c	Sat Jul 02 08:17:45 2011 +0000
@@ -777,7 +777,8 @@
     }
   }
 
-  vo_vobsub = vobsub_open(vobsub_name, spudec_ifo, 1, &vo_spudec);
+  if (vobsub_name)
+    vo_vobsub = vobsub_open(vobsub_name, spudec_ifo, 1, &vo_spudec);
 
 // set up video encoder: