X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fresample.c;h=0f5ee84942c47075aded76e14d5ad1c5cdb065e3;hb=d09f9c45c7554e6d9b20be5b640f67fcf053250b;hp=c45aa16cd1d86a9a092c530187135e6559bc1751;hpb=190e52112339c62b213d7ccb0daab5ffe387af49;p=ffmpeg diff --git a/libavcodec/resample.c b/libavcodec/resample.c index c45aa16cd1d..0f5ee84942c 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