Forgot to use the right terminator when calling execlp in r1177.
authorpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 6 Dec 2007 03:37:13 +0000 (03:37 +0000)
committerpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 6 Dec 2007 03:37:13 +0000 (03:37 +0000)
git-svn-id: http://svn.voria.com/code@1180 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/modules/mod_dv/trgt_dv.cpp

index bc3c181..67bbf95 100644 (file)
@@ -161,9 +161,9 @@ dv_trgt::init()
                }
                
                if(wide_aspect)
-                       execlp("encodedv", "encodedv", "-w", "1", "-");
+                       execlp("encodedv", "encodedv", "-w", "1", "-", (const char *)NULL);
                else
-                       execlp("encodedv", "encodedv", "-");
+                       execlp("encodedv", "encodedv", "-", (const char *)NULL);
                // We should never reach here unless the exec failed
                synfig::error(_("Unable to open pipe to encodedv"));
                return false;