mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-30 20:16:42 +08: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:
@@ -70,7 +70,7 @@ const char *avutil_configuration(void)
|
||||
const char *avutil_license(void)
|
||||
{
|
||||
#define LICENSE_PREFIX "libavutil license: "
|
||||
return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1;
|
||||
return &LICENSE_PREFIX FFMPEG_LICENSE[sizeof(LICENSE_PREFIX) - 1];
|
||||
}
|
||||
|
||||
const char *av_get_media_type_string(enum AVMediaType media_type)
|
||||
|
||||
Reference in New Issue
Block a user