ffmpeg | branch: master | Michael Niedermayer <michae...@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 <michae...@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"

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to