summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2006-04-21 23:15:44 +0000
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2006-04-21 23:15:44 +0000
commit65d46d7e0123cf42b5c98f633bd41c90acaa180d (patch)
tree0912efb8d0496428f015fdc8de81db135e44e65d /src/libffmpeg/libavcodec
parentc707fe990cb23300de76b7a5728a543105283ddb (diff)
downloadxine-lib-65d46d7e0123cf42b5c98f633bd41c90acaa180d.tar.gz
xine-lib-65d46d7e0123cf42b5c98f633bd41c90acaa180d.tar.bz2
Add printf format attributes.
CVS patchset: 7977 CVS date: 2006/04/21 23:15:44
Diffstat (limited to 'src/libffmpeg/libavcodec')
-rw-r--r--src/libffmpeg/libavcodec/interplayvideo.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libffmpeg/libavcodec/interplayvideo.c b/src/libffmpeg/libavcodec/interplayvideo.c
index 73165e795..588485a0a 100644
--- a/src/libffmpeg/libavcodec/interplayvideo.c
+++ b/src/libffmpeg/libavcodec/interplayvideo.c
@@ -49,7 +49,11 @@
#if DEBUG_INTERPLAY
#define debug_interplay(x,...) av_log(NULL, AV_LOG_DEBUG, x, __VA_ARGS__)
#else
-static inline void debug_interplay(const char *format, ...) { }
+static inline void
+#ifdef __GNUC__
+__attribute__ ((__format__ (__printf__, 1, 2)))
+#endif
+debug_interplay(const char *format, ...) { }
#endif
typedef struct IpvideoContext {