mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-12 18:10:13 +01:00
Use av_printf_format to check the usage of printf style functions
This helps catching cases where the format string doesn't match what is passed in, or injection bugs where user data is passed in as format string. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
@@ -108,7 +108,7 @@ uint64_t ff_ntp_time(void);
|
||||
*/
|
||||
int ff_url_join(char *str, int size, const char *proto,
|
||||
const char *authorization, const char *hostname,
|
||||
int port, const char *fmt, ...);
|
||||
int port, const char *fmt, ...) av_printf_format(7, 8);
|
||||
|
||||
/**
|
||||
* Append the media-specific SDP fragment for the media stream c
|
||||
|
||||
Reference in New Issue
Block a user