summaryrefslogtreecommitdiff
path: root/libavresample
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2018-01-04 15:35:59 -0300
committerJames Almer <jamrial@gmail.com>2018-01-09 10:56:53 -0300
commitded409b7c9c242df5954f582f7d8b180f9291793 (patch)
tree870414fb7e5f12facfb31f774644180da8186df8 /libavresample
parent21c99f4b40de07c2390803d47f4dd247175e08a3 (diff)
downloadffmpeg-ded409b7c9c242df5954f582f7d8b180f9291793.tar.gz
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 <jamrial@gmail.com>
Diffstat (limited to 'libavresample')
-rw-r--r--libavresample/avresample.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavresample/avresample.h b/libavresample/avresample.h
index 440e1a16e7..5ac9adb44b 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