summaryrefslogtreecommitdiff
path: root/libavcodec/options_table.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-08-05 22:28:26 +0200
committerDiego Biurrun <diego@biurrun.de>2013-08-06 03:05:03 +0200
commit0ba4ea312b2a6bebbdd7ff228d46385159c63c9f (patch)
tree5372220b599d61f902c08502806fa8f8297f02a6 /libavcodec/options_table.h
parent971cce7ebb48a58e72e4dc57b3008e2682bcf4e7 (diff)
avcodec/options: Drop deprecation warning suppression macros
The options table is used in tools built by the host compiler and the deprecation macros pull in bits that are not safe to use if host and target compiler differ.
Diffstat (limited to 'libavcodec/options_table.h')
-rw-r--r--libavcodec/options_table.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/options_table.h b/libavcodec/options_table.h
index 851560384a..5e9d484b28 100644
--- a/libavcodec/options_table.h
+++ b/libavcodec/options_table.h
@@ -23,7 +23,6 @@
#include <float.h>
#include <limits.h>
-#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "version.h"
@@ -40,7 +39,6 @@
#define AV_CODEC_DEFAULT_BITRATE 200*1000
-FF_DISABLE_DEPRECATION_WARNINGS
static const AVOption avcodec_options[] = {
{"b", "set bitrate (in bits/s)", OFFSET(bit_rate), AV_OPT_TYPE_INT, {.i64 = AV_CODEC_DEFAULT_BITRATE }, INT_MIN, INT_MAX, V|A|E},
{"bt", "Set video bitrate tolerance (in bits/s). In 1-pass mode, bitrate tolerance specifies how far "
@@ -375,7 +373,6 @@ static const AVOption avcodec_options[] = {
{"refcounted_frames", NULL, OFFSET(refcounted_frames), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, A|V|D },
{NULL},
};
-FF_ENABLE_DEPRECATION_WARNINGS
#undef A
#undef V