正在显示
1 个修改的文件
包含
8 行增加
和
1 行删除
| 1 | #include "AVTranscoder.h" | 1 | #include "AVTranscoder.h" |
| 2 | #include "tools.h" | 2 | #include "tools.h" |
| 3 | -#include <minmax.h> | 3 | + |
| 4 | +#ifndef max | ||
| 5 | +#define max(a,b) (((a) > (b)) ? (a) : (b)) | ||
| 6 | +#endif /* max */ | ||
| 7 | + | ||
| 8 | +#ifndef min | ||
| 9 | +#define min(a,b) (((a) < (b)) ? (a) : (b)) | ||
| 10 | +#endif /* min */ | ||
| 4 | 11 | ||
| 5 | extern "C" { | 12 | extern "C" { |
| 6 | #include <libswscale/swscale.h> | 13 | #include <libswscale/swscale.h> |
-
请 注册 或 登录 后发表评论