Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-08-08 11:41:33 +0300
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-08-22 20:16:14 +0300
commit095347ffe4c73143dbeb7b05cde8891fd1289389 (patch)
tree7f3f71dd67f7f973990281a26e7beebe59f20829 /libavcodec/options_table.h
parent805f38b4d618811e2f09625c87f42a1d3fd492d2 (diff)
disable deprecation warnings in deprecated code
Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavcodec/options_table.h')
-rw-r--r--libavcodec/options_table.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/options_table.h b/libavcodec/options_table.h
index 93d4f779a4..d4711edd37 100644
--- a/libavcodec/options_table.h
+++ b/libavcodec/options_table.h
@@ -26,6 +26,7 @@
#include <limits.h>
#include <stdint.h>
+#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "version.h"
@@ -41,6 +42,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 }, 0, INT_MAX, A|V|E},
{"ab", "set bitrate (in bits/s)", OFFSET(bit_rate), AV_OPT_TYPE_INT, {.i64 = 128*1000 }, 0, INT_MAX, A|E},
@@ -504,6 +506,7 @@ static const AVOption avcodec_options[] = {
{"video_size", "set video size", OFFSET(width), AV_OPT_TYPE_IMAGE_SIZE, {.str=NULL}, 0, INT_MAX, 0 },
{NULL},
};
+FF_ENABLE_DEPRECATION_WARNINGS
#undef A
#undef V