diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-08-08 10:41:33 +0200 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-08-22 19:16:14 +0200 |
commit | 095347ffe4c73143dbeb7b05cde8891fd1289389 (patch) | |
tree | 7f3f71dd67f7f973990281a26e7beebe59f20829 /libavcodec/options_table.h | |
parent | 805f38b4d618811e2f09625c87f42a1d3fd492d2 (diff) | |
download | ffmpeg-095347ffe4c73143dbeb7b05cde8891fd1289389.tar.gz |
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.h | 3 |
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 |