git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60420fa
)
doc/print_options: Fix build on mingw after 960aff379da46dcaff61504a57714d4d4e758e41
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 25 Nov 2014 02:56:57 +0000
(
03:56
+0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 25 Nov 2014 03:04:00 +0000
(
04:04
+0100)
A cleaner fix is very welcome
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
doc/print_options.c
patch
|
blob
|
history
diff --git
a/doc/print_options.c
b/doc/print_options.c
index
ec8d839
..
b225e69
100644
(file)
--- 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"