Commit ded409b7 authored by James Almer's avatar James Almer

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: 's avatarJames Almer <jamrial@gmail.com>
parent 21c99f4b
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
#define AVRESAMPLE_MAX_CHANNELS 32 #define AVRESAMPLE_MAX_CHANNELS 32
typedef attribute_deprecated struct AVAudioResampleContext AVAudioResampleContext; typedef struct AVAudioResampleContext AVAudioResampleContext;
/** /**
* @deprecated use libswresample * @deprecated use libswresample
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment