*/
#include <stddef.h>
+#include <stdio.h>
#include <string.h>
#include <float.h>
-#include "libavformat/avformat.h"
-#include "libavcodec/avcodec.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"
static void show_format_opts(void)
{
-#include "libavformat/options_table.h"
-
printf("@section Format AVOptions\n");
show_opts(avformat_options, 0);
}
static void show_codec_opts(void)
{
-#include "libavcodec/options_table.h"
-
printf("@section Codec AVOptions\n");
show_opts(avcodec_options, 1);
}