aboutsummaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorVittorio Giovara2015-07-03 19:25:30 +0100
committerLuca Barbato2015-07-03 21:02:50 +0200
commitf046c3b5ac36848cce824b008e0347c621523041 (patch)
tree651908ca31084fcf247a24bcd992529b4f2d23cf /libavformat
parent7a5902c556d84a367dd64a003a4e7244fc3a73d1 (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.c4
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)
{