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

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2017-02-26 13:18:25 +0300
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2017-03-08 02:33:21 +0300
commit851f4255e0e2001f73c393db48b3eb3bd2a8b96e (patch)
treeb593535ad314a6b675ce6dab3c721e4f06f7f555 /libswscale
parenta9c20598b505ac2314843cc0855fdd3e6460322c (diff)
lsws/slice: Move a misplaced const.
Fixes a gcc warning: libswscale/slice.c:178:56: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/slice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/slice.c b/libswscale/slice.c
index e14456f75f..db4fa874ff 100644
--- a/libswscale/slice.c
+++ b/libswscale/slice.c
@@ -158,7 +158,7 @@ int ff_init_slice_from_src(SwsSlice * s, uint8_t *src[4], int stride[4], int src
chrY + chrH,
lumY + lumH};
- const uint8_t *src_[4] = {src[0] + (relative ? 0 : start[0]) * stride[0],
+ uint8_t *const src_[4] = {src[0] + (relative ? 0 : start[0]) * stride[0],
src[1] + (relative ? 0 : start[1]) * stride[1],
src[2] + (relative ? 0 : start[2]) * stride[2],
src[3] + (relative ? 0 : start[3]) * stride[3]};