summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/print_options.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/doc/print_options.c b/doc/print_options.c
index 9fd66ca380..fd1cf10dc1 100644
--- a/doc/print_options.c
+++ b/doc/print_options.c
@@ -23,6 +23,7 @@
*/
#include <stddef.h>
+#include <stdio.h>
#include <string.h>
#include <float.h>
@@ -30,12 +31,17 @@
// 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"
-#include "libavcodec/options_table.h"
+#include "libavutil/attributes.h"
#include "libavutil/opt.h"
+/* Forcibly turn off deprecation warnings, which just add noise here. */
+#undef attribute_deprecated
+#define attribute_deprecated
+
+#include "libavcodec/options_table.h"
+
+#include "libavformat/options_table.h"
+
static void print_usage(void)
{
fprintf(stderr, "Usage: enum_options type\n"