[FFmpeg-cvslog] avresample: remove deprecated attribute from the AVAudioResampleContext struct

James Almer git at videolan.org
Tue Jan 9 16:04:36 EET 2018


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Thu Jan  4 15:35:59 2018 -0300| [ded409b7c9c242df5954f582f7d8b180f9291793] | committer: 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: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ded409b7c9c242df5954f582f7d8b180f9291793
---

 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



More information about the ffmpeg-cvslog mailing list