]> git.sesse.net Git - ffmpeg/commitdiff
lavc: Disable deprectation warnings coming from options table
authorVittorio Giovara <vittorio.giovara@gmail.com>
Thu, 2 Jul 2015 22:28:46 +0000 (23:28 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Fri, 3 Jul 2015 13:30:17 +0000 (14:30 +0100)
libavcodec/options_table.h

index ee8f32847a0708d32817163ad8bd68551bae891a..66cfc7498c0a029f3194627162146cbe02cc2c15 100644 (file)
@@ -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