Commit a1b3ded9 authored by Clément Bœsch's avatar Clément Bœsch

Merge commit '2025d378'

* commit '2025d378':
  doc: Turn off noisy deprecation warnings in the option printer
Merged-by: 's avatarClément Bœsch <u@pkh.me>
parents 72dbfe42 2025d378
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
*/ */
#include <stddef.h> #include <stddef.h>
#include <stdio.h>
#include <string.h> #include <string.h>
#include <float.h> #include <float.h>
...@@ -30,12 +31,17 @@ ...@@ -30,12 +31,17 @@
// for the target. without this build breaks on mingw // for the target. without this build breaks on mingw
#define AVFORMAT_OS_SUPPORT_H #define AVFORMAT_OS_SUPPORT_H
#include "libavformat/avformat.h" #include "libavutil/attributes.h"
#include "libavformat/options_table.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/options_table.h"
#include "libavutil/opt.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) static void print_usage(void)
{ {
fprintf(stderr, "Usage: enum_options type\n" fprintf(stderr, "Usage: enum_options type\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment