diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-07-03 21:25:30 +0300 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-07-03 22:02:50 +0300 |
commit | f046c3b5ac36848cce824b008e0347c621523041 (patch) | |
tree | 651908ca31084fcf247a24bcd992529b4f2d23cf /libavformat | |
parent | 7a5902c556d84a367dd64a003a4e7244fc3a73d1 (diff) |
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 'libavformat')
-rw-r--r-- | libavformat/options.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/options.c b/libavformat/options.c index 996dc31274..a6fbbd2623 100644 --- a/libavformat/options.c +++ b/libavformat/options.c @@ -20,6 +20,8 @@ #include "avformat.h" #include "avio_internal.h" #include "internal.h" + +#include "libavutil/internal.h" #include "libavutil/opt.h" /** @@ -27,7 +29,9 @@ * Options definition for AVFormatContext. */ +FF_DISABLE_DEPRECATION_WARNINGS #include "options_table.h" +FF_ENABLE_DEPRECATION_WARNINGS static const char* format_to_name(void* ptr) { |