[FFmpeg-cvslog] lavd/qtkit: Silence deprecation warnings when using clang.
Carl Eugen Hoyos
git at videolan.org
Tue Mar 10 14:26:20 CET 2015
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Tue Mar 10 12:04:35 2015 +0100| [732f46a6759bfc7a7528c779f655be9629b9d359] | committer: Carl Eugen Hoyos
lavd/qtkit: Silence deprecation warnings when using clang.
Reviewed-by: Thilo Borgmann
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=732f46a6759bfc7a7528c779f655be9629b9d359
---
libavdevice/qtkit.m | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libavdevice/qtkit.m b/libavdevice/qtkit.m
index aa8fa16..22a94ca 100644
--- a/libavdevice/qtkit.m
+++ b/libavdevice/qtkit.m
@@ -25,6 +25,10 @@
* @author Vadim Kalinsky <vadim at kalinsky.ru>
*/
+#if defined(__clang__)
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+#endif
+
#import <QTKit/QTKit.h>
#include <pthread.h>
More information about the ffmpeg-cvslog
mailing list