错误代码
#ifdef NDEBUG
#define DBUG_PRINT(fmt, ...)
#else
#define DBUG_PRINT(fmt, ...) printf(fmt, ##__VA_ARGS__)
#endif
BUG_PRINT(stderr, "decode %s does not support device type cuda.\n", dec->name);
修改
BUG_PRINT("decode %s does not support device type cuda.\n", dec->name);