mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02: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:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user