summaryrefslogtreecommitdiff
path: root/libavcodec/resample.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 /libavcodec/resample.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 'libavcodec/resample.c')
-rw-r--r--libavcodec/resample.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/resample.c b/libavcodec/resample.c
index c45aa16cd1..0f5ee84942 100644
--- a/libavcodec/resample.c
+++ b/libavcodec/resample.c
@@ -33,6 +33,7 @@
#include "libavutil/samplefmt.h"
#if FF_API_AVCODEC_RESAMPLE
+FF_DISABLE_DEPRECATION_WARNINGS
#define MAX_CHANNELS 8
@@ -440,4 +441,5 @@ void audio_resample_close(ReSampleContext *s)
av_free(s);
}
+FF_ENABLE_DEPRECATION_WARNINGS
#endif