]> git.sesse.net Git - vlc/commitdiff
ATTRIBUTE_FORMAT for sdp_AddAttribute
authorRémi Denis-Courmont <rem@videolan.org>
Tue, 11 Sep 2007 20:21:01 +0000 (20:21 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Tue, 11 Sep 2007 20:21:01 +0000 (20:21 +0000)
include/vlc_sout.h

index 0ae3b72b593db2c3e29736c940d6c76828b56951..af88666cb35936e38a6bdcdc4672bf01691bf38e 100644 (file)
@@ -224,7 +224,7 @@ VLC_EXPORT(void,                 sout_MethodRelease, (announce_method_t *) );
 
 VLC_EXPORT( char *, sdp_Start, (const char *name, const char *description, const char *url, const char *email, const char *phone, const struct sockaddr *orig, socklen_t origlen, const struct sockaddr *addr, socklen_t addrlen) );
 VLC_EXPORT( char *, sdp_AddMedia, (char **sdp, const char *type, const char *protocol, int dport, unsigned pt, vlc_bool_t bw_indep, unsigned bw, const char *rtpmap, const char *fmtp) );
-VLC_EXPORT( char *, sdp_AddAttribute, (char **sdp, const char *name, const char *fmt, ...) );
+VLC_EXPORT( char *, sdp_AddAttribute, (char **sdp, const char *name, const char *fmt, ...) ATTRIBUTE_FORMAT( 3, 4 ) );
 
 
 #ifdef __cplusplus