diff options
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 e9cdfc4ac4..727596168b 100644 --- a/libavcodec/options_table.h +++ b/libavcodec/options_table.h @@ -25,6 +25,7 @@ #include <float.h> #include <limits.h> +#include "libavutil/internal.h" #include "libavutil/opt.h" #include "avcodec.h" #include "version.h" @@ -40,6 +41,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}, @@ -382,6 +384,7 @@ 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 |