Fix 1818856: External application render targets seem to be broken. We can't use...
[synfig.git] / synfig-core / trunk / src / modules / mod_dv / trgt_dv.cpp
index 720736c..18dc1cd 100644 (file)
@@ -128,7 +128,7 @@ dv_trgt::init()
                command=strprintf("encodedv - > \"%s\"\n",filename.c_str());
 
        // Open the pipe to encodedv
-       file=popen(command.c_str(),"wb");
+       file=popen(command.c_str(),POPEN_BINARY_WRITE_TYPE);
 
        if(!file)
        {