diff --git a/source/tools/atlas/AtlasUI/General/VideoRecorder/FFmpeg.cpp b/source/tools/atlas/AtlasUI/General/VideoRecorder/FFmpeg.cpp index 519888ef30..8cdc77ce63 100644 --- a/source/tools/atlas/AtlasUI/General/VideoRecorder/FFmpeg.cpp +++ b/source/tools/atlas/AtlasUI/General/VideoRecorder/FFmpeg.cpp @@ -17,6 +17,13 @@ Please complain if I forget to do those things. */ +#ifdef __GNUC__ +// ugly hack to make recent versions of FFmpeg work +#define __STDC_CONSTANT_MACROS +#undef _STDINT_H +#include +#endif + #include "FFmpeg.h" #ifdef _MSC_VER