summaryrefslogtreecommitdiff
path: root/libavfilter/avcodec.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-08-08 10:41:33 +0200
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-08-22 19:16:14 +0200
commit095347ffe4c73143dbeb7b05cde8891fd1289389 (patch)
tree7f3f71dd67f7f973990281a26e7beebe59f20829 /libavfilter/avcodec.c
parent805f38b4d618811e2f09625c87f42a1d3fd492d2 (diff)
disable deprecation warnings in deprecated code
Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavfilter/avcodec.c')
-rw-r--r--libavfilter/avcodec.c2
1 files changed, 2 insertions, 0 deletions
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