Commit 2025d378 authored by Diego Biurrun's avatar Diego Biurrun

doc: Turn off noisy deprecation warnings in the option printer

parent f4ca8ea9
...@@ -23,15 +23,21 @@ ...@@ -23,15 +23,21 @@
*/ */
#include <stddef.h> #include <stddef.h>
#include <stdio.h>
#include <string.h> #include <string.h>
#include <float.h> #include <float.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