From: James Almer Date: Thu, 4 Jan 2018 18:35:59 +0000 (-0300) Subject: avresample: remove deprecated attribute from the AVAudioResampleContext struct X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=ded409b7c9c242df5954f582f7d8b180f9291793;p=ffmpeg avresample: remove deprecated attribute from the AVAudioResampleContext struct Having all the public functions marked as deprecated is enough. This gets rid of a warning spam when compiling any file including libavresample/avresample.h even when avresample is not enabled, like it's the case with fftools/cmdutils.c Signed-off-by: James Almer --- diff --git a/libavresample/avresample.h b/libavresample/avresample.h index 440e1a16e74..5ac9adb44b9 100644 --- a/libavresample/avresample.h +++ b/libavresample/avresample.h @@ -103,7 +103,7 @@ #define AVRESAMPLE_MAX_CHANNELS 32 -typedef attribute_deprecated struct AVAudioResampleContext AVAudioResampleContext; +typedef struct AVAudioResampleContext AVAudioResampleContext; /** * @deprecated use libswresample