[FFmpeg-cvslog] doc/print_options: Fix build on mingw after 960aff379da46dcaff61504a57714d4d4e758e41
Michael Niedermayer
git at videolan.org
Tue Nov 25 04:04:52 CET 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Nov 25 03:56:57 2014 +0100| [c724c82a78284368e8542630ce602bc591bb95c8] | committer: Michael Niedermayer
doc/print_options: Fix build on mingw after 960aff379da46dcaff61504a57714d4d4e758e41
A cleaner fix is very welcome
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c724c82a78284368e8542630ce602bc591bb95c8
---
doc/print_options.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/doc/print_options.c b/doc/print_options.c
index ec8d839..b225e69 100644
--- a/doc/print_options.c
+++ b/doc/print_options.c
@@ -26,6 +26,10 @@
#include <string.h>
#include <float.h>
+// print_options is build for the host, os_support.h isnt needed and is setup
+// for the target. without this build breaks on mingw
+#define AVFORMAT_OS_SUPPORT_H
+
#include "libavformat/avformat.h"
#include "libavformat/options_table.h"
#include "libavcodec/avcodec.h"
More information about the ffmpeg-cvslog
mailing list