summaryrefslogtreecommitdiff
path: root/libavfilter/vf_eq.h
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.h
parentf8716d1e56d5019d070b30692d144c30a18fcf23 (diff)
avfilter/vf_eq: mark src as const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_eq.h')
-rw-r--r--libavfilter/vf_eq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_eq.h b/libavfilter/vf_eq.h
index 19995aa1f9..7e7c054261 100644
--- a/libavfilter/vf_eq.h
+++ b/libavfilter/vf_eq.h
@@ -29,7 +29,7 @@
typedef struct EQParameters {
void (*adjust)(struct EQParameters *eq, 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);
uint8_t lut[256];
@@ -51,7 +51,7 @@ typedef struct {
double gamma_r, gamma_g, gamma_b;
void (*process)(struct EQParameters *par, 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);
} EQContext;