From: RĂ©mi Denis-Courmont Date: Tue, 11 Sep 2007 20:21:01 +0000 (+0000) Subject: ATTRIBUTE_FORMAT for sdp_AddAttribute X-Git-Tag: 0.9.0-test0~5666 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=c57a95bb4ff9115a142a2ba2052bf73e448d9083;p=vlc ATTRIBUTE_FORMAT for sdp_AddAttribute --- diff --git a/include/vlc_sout.h b/include/vlc_sout.h index 0ae3b72b59..af88666cb3 100644 --- a/include/vlc_sout.h +++ b/include/vlc_sout.h @@ -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