From cdfb6f0e46a5e75b9deb1709c2c868fd562e21b1 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Tue, 18 Feb 2014 23:00:39 +0100
Subject: [PATCH] Fix VideoWriter default

---
 xbob/io/videowriter.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xbob/io/videowriter.cpp b/xbob/io/videowriter.cpp
index 7b1a369..860ed21 100644
--- a/xbob/io/videowriter.cpp
+++ b/xbob/io/videowriter.cpp
@@ -111,7 +111,7 @@ static int PyBobIoVideoWriter_Init(PyBobIoVideoWriterObject* self,
   Py_ssize_t gop = 12;
   char* codec = 0;
   char* format = 0;
-  PyObject* pycheck = 0;
+  PyObject* pycheck = Py_True;
 
   if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&nn|ddnssO", kwlist,
         &PyBobIo_FilenameConverter, &filename,
-- 
GitLab