1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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>
This commit is contained in:
James Almer 2018-01-04 15:35:59 -03:00
parent 21c99f4b40
commit ded409b7c9

View File

@ -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