code cleanup:
[blender.git] / source / blender / python / intern / bpy_app_ffmpeg.c
index 3bf3dec3872e22513353d6c51c46ea3bb76ca45e..61e12c1cea0dc7b0fae0fa5fc88f52574a44143c 100644 (file)
@@ -81,8 +81,10 @@ static PyObject *make_ffmpeg_info(void)
 #define SetIntItem(flag) \
        PyStructSequence_SET_ITEM(ffmpeg_info, pos++, PyLong_FromLong(flag))
 #endif
+#ifndef WITH_FFMPEG
 #define SetStrItem(str) \
        PyStructSequence_SET_ITEM(ffmpeg_info, pos++, PyUnicode_FromString(str))
+#endif
 #define SetObjItem(obj) \
        PyStructSequence_SET_ITEM(ffmpeg_info, pos++, obj)