From 095347ffe4c73143dbeb7b05cde8891fd1289389 Mon Sep 17 00:00:00 2001 From: Andreas Cadhalpun Date: Sat, 8 Aug 2015 10:41:33 +0200 Subject: disable deprecation warnings in deprecated code Reviewed-by: wm4 Signed-off-by: Andreas Cadhalpun --- libavfilter/avcodec.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavfilter/avcodec.c') diff --git a/libavfilter/avcodec.c b/libavfilter/avcodec.c index def735f84d..bf7d8e1596 100644 --- a/libavfilter/avcodec.c +++ b/libavfilter/avcodec.c @@ -29,6 +29,7 @@ #include "libavutil/opt.h" #if FF_API_AVFILTERBUFFER +FF_DISABLE_DEPRECATION_WARNINGS AVFilterBufferRef *avfilter_get_video_buffer_ref_from_frame(const AVFrame *frame, int perms) { @@ -134,4 +135,5 @@ int avfilter_copy_buf_props(AVFrame *dst, const AVFilterBufferRef *src) return 0; } +FF_ENABLE_DEPRECATION_WARNINGS #endif -- cgit v1.2.1