diff options
author | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2020-01-06 16:16:18 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2020-01-06 22:38:56 +0100 |
commit | 96fab29e9659c9492783f6369c5e14c0316bb94b (patch) | |
tree | 41117f1686fb73ad94c2422fd7f0d1246bc94e25 /libavdevice | |
parent | e21ba176c92b61977330b9aa8d9c49e4fe5a3c23 (diff) | |
download | ffmpeg-96fab29e9659c9492783f6369c5e14c0316bb94b.tar.gz |
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]
Diffstat (limited to 'libavdevice')
-rw-r--r-- | libavdevice/avdevice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/avdevice.c b/libavdevice/avdevice.c index 72e1b67887..3d03d89f04 100644 --- a/libavdevice/avdevice.c +++ b/libavdevice/avdevice.c @@ -75,7 +75,7 @@ const char * avdevice_configuration(void) const char * avdevice_license(void) { #define LICENSE_PREFIX "libavdevice license: " - return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1; + return &LICENSE_PREFIX FFMPEG_LICENSE[sizeof(LICENSE_PREFIX) - 1]; } static void *device_next(void *prev, int output, |