A cleaner fix is very welcome
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
... | ... |
@@ -26,6 +26,10 @@ |
26 | 26 |
#include <string.h> |
27 | 27 |
#include <float.h> |
28 | 28 |
|
29 |
+// print_options is build for the host, os_support.h isnt needed and is setup |
|
30 |
+// for the target. without this build breaks on mingw |
|
31 |
+#define AVFORMAT_OS_SUPPORT_H |
|
32 |
+ |
|
29 | 33 |
#include "libavformat/avformat.h" |
30 | 34 |
#include "libavformat/options_table.h" |
31 | 35 |
#include "libavcodec/avcodec.h" |