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 <jamr...@gmail.com>
---
 libavresample/avresample.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to