From f046c3b5ac36848cce824b008e0347c621523041 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Fri, 3 Jul 2015 19:25:30 +0100 Subject: lavc: Move deprecation warning disabling to files including the table Unbreak build from 7a5902c556d84a367dd64a003a4e7244fc3a73d1. Signed-off-by: Luca Barbato --- libavformat/options.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libavformat/options.c') 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) { -- cgit v1.2.3