mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-12 01:40:04 +01:00
Silence "string-plus-int" warning shown by clang.
libswscale/utils.c:89:42: warning: adding 'unsigned long' to a string does not append to the string [-Wstring-plus-int]
This commit is contained in:
@@ -77,7 +77,7 @@ const char *avformat_configuration(void)
|
||||
const char *avformat_license(void)
|
||||
{
|
||||
#define LICENSE_PREFIX "libavformat license: "
|
||||
return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1;
|
||||
return &LICENSE_PREFIX FFMPEG_LICENSE[sizeof(LICENSE_PREFIX) - 1];
|
||||
}
|
||||
|
||||
int ff_lock_avformat(void)
|
||||
|
||||
Reference in New Issue
Block a user