aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-07-02 23:28:46 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-07-03 14:30:17 +0100
commit7a5902c556d84a367dd64a003a4e7244fc3a73d1 (patch)
tree9c924b63a7e0e45ee3bb581f4d6ec4f5a17b28f4
parent832129431fd5c693b12c32a1563944c631feaf36 (diff)
downloadffmpeg-7a5902c556d84a367dd64a003a4e7244fc3a73d1.tar.gz
lavc: Disable deprectation warnings coming from options table
-rw-r--r--libavcodec/options_table.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/options_table.h b/libavcodec/options_table.h
index ee8f32847a..66cfc7498c 100644
--- a/libavcodec/options_table.h
+++ b/libavcodec/options_table.h
@@ -40,6 +40,7 @@
#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 "
@@ -475,6 +476,7 @@ static const AVOption avcodec_options[] = {
{"side_data_only_packets", NULL, OFFSET(side_data_only_packets), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, A|V|E },
{NULL},
};
+FF_DISABLE_DEPRECATION_WARNINGS
#undef A
#undef V