diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-07-03 19:25:30 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-07-03 21:02:50 +0200 |
commit | f046c3b5ac36848cce824b008e0347c621523041 (patch) | |
tree | 651908ca31084fcf247a24bcd992529b4f2d23cf /libavcodec/options.c | |
parent | 7a5902c556d84a367dd64a003a4e7244fc3a73d1 (diff) | |
download | ffmpeg-f046c3b5ac36848cce824b008e0347c621523041.tar.gz |
lavc: Move deprecation warning disabling to files including the table
Unbreak build from 7a5902c556d84a367dd64a003a4e7244fc3a73d1.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/options.c')
-rw-r--r-- | libavcodec/options.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/options.c b/libavcodec/options.c index c00dca078e..a433f25eb9 100644 --- a/libavcodec/options.c +++ b/libavcodec/options.c @@ -33,7 +33,9 @@ #include <float.h> /* FLT_MIN, FLT_MAX */ #include <string.h> +FF_DISABLE_DEPRECATION_WARNINGS #include "options_table.h" +FF_ENABLE_DEPRECATION_WARNINGS static const char* context_to_name(void* ptr) { AVCodecContext *avc= ptr; |