aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_eq.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-01-27 01:46:08 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-01-27 01:46:08 +0100
commitf5b3257c506e2eafc1538fa8056325acec291bd9 (patch)
tree48ea3eeb2de592de06d4aa2188f1f28153e847ee /libavfilter/vf_eq.c
parentf8716d1e56d5019d070b30692d144c30a18fcf23 (diff)
downloadffmpeg-f5b3257c506e2eafc1538fa8056325acec291bd9.tar.gz
avfilter/vf_eq: mark src as const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_eq.c')
-rw-r--r--libavfilter/vf_eq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_eq.c b/libavfilter/vf_eq.c
index 7bbbaee2c5..ad2a37ea6e 100644
--- a/libavfilter/vf_eq.c
+++ b/libavfilter/vf_eq.c
@@ -65,7 +65,7 @@ static void create_lut(EQParameters *param)
}
static void apply_lut(EQParameters *param, uint8_t *dst, int dst_stride,
- uint8_t *src, int src_stride, int w, int h)
+ const uint8_t *src, int src_stride, int w, int h)
{
int x, y;
@@ -80,7 +80,7 @@ static void apply_lut(EQParameters *param, uint8_t *dst, int dst_stride,
}
static void process_c(EQParameters *param, uint8_t *dst, int dst_stride,
- uint8_t *src, int src_stride, int w, int h)
+ const uint8_t *src, int src_stride, int w, int h)
{
int x, y, pel;