]> git.sesse.net Git - ffmpeg/commitdiff
avresample: remove deprecated attribute from the AVAudioResampleContext struct
authorJames Almer <jamrial@gmail.com>
Thu, 4 Jan 2018 18:35:59 +0000 (15:35 -0300)
committerJames Almer <jamrial@gmail.com>
Tue, 9 Jan 2018 13:56:53 +0000 (10:56 -0300)
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 <jamrial@gmail.com>
libavresample/avresample.h

index 440e1a16e749ee7f6d5755acab3295089add9362..5ac9adb44b9de1f4c0103b10d17d4bd56baa7519 100644 (file)
 
 #define AVRESAMPLE_MAX_CHANNELS 32
 
-typedef attribute_deprecated struct AVAudioResampleContext AVAudioResampleContext;
+typedef struct AVAudioResampleContext AVAudioResampleContext;
 
 /**
  * @deprecated use libswresample