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:
Carl Eugen Hoyos
2020-01-06 22:38:56 +01:00
parent e21ba176c9
commit 96fab29e96
8 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ const char *swresample_configuration(void)
const char *swresample_license(void)
{
#define LICENSE_PREFIX "libswresample license: "
return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1;
return &LICENSE_PREFIX FFMPEG_LICENSE[sizeof(LICENSE_PREFIX) - 1];
}
int swr_set_channel_mapping(struct SwrContext *s, const int *channel_map){