Skip to content

Commit

Permalink
avresample: remove deprecated attribute from the AVAudioResampleConte…
Browse files Browse the repository at this point in the history
…xt 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]>
  • Loading branch information
jamrial committed Jan 9, 2018
1 parent 21c99f4 commit ded409b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libavresample/avresample.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@

#define AVRESAMPLE_MAX_CHANNELS 32

typedef attribute_deprecated struct AVAudioResampleContext AVAudioResampleContext;
typedef struct AVAudioResampleContext AVAudioResampleContext;

/**
* @deprecated use libswresample
Expand Down

0 comments on commit ded409b

Please sign in to comment.