Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2020-01-06 18:16:18 +0300
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2020-01-07 00:38:56 +0300
commit96fab29e9659c9492783f6369c5e14c0316bb94b (patch)
tree41117f1686fb73ad94c2422fd7f0d1246bc94e25 /libpostproc
parente21ba176c92b61977330b9aa8d9c49e4fe5a3c23 (diff)
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 'libpostproc')
-rw-r--r--libpostproc/postprocess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c
index 1fef8747c0..e16ef259ce 100644
--- a/libpostproc/postprocess.c
+++ b/libpostproc/postprocess.c
@@ -108,7 +108,7 @@ const char *postproc_configuration(void)
const char *postproc_license(void)
{
#define LICENSE_PREFIX "libpostproc license: "
- return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1;
+ return &LICENSE_PREFIX FFMPEG_LICENSE[sizeof(LICENSE_PREFIX) - 1];
}
#define GET_MODE_BUFFER_SIZE 500