Skip to content

Commit ded409b

Browse files
committed
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 <[email protected]>
1 parent 21c99f4 commit ded409b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libavresample/avresample.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103

104104
#define AVRESAMPLE_MAX_CHANNELS 32
105105

106-
typedef attribute_deprecated struct AVAudioResampleContext AVAudioResampleContext;
106+
typedef struct AVAudioResampleContext AVAudioResampleContext;
107107

108108
/**
109109
* @deprecated use libswresample

0 commit comments

Comments
 (0)