diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-09-16 10:50:12 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-09-16 12:37:29 +0000 |
commit | 563057731a5a634af469a9e59869d772b560a9ff (patch) | |
tree | 4b40ef8c9b868cc560e657aea3c5c1161e3ef878 | |
parent | c74d5929df99c88f72373cbd7484d698fb6757ac (diff) | |
download | ffmpeg-563057731a5a634af469a9e59869d772b560a9ff.tar.gz |
avfilter/vf_stereod3d: add const qualifiers to ana_convert()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | libavfilter/vf_stereo3d.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/vf_stereo3d.c b/libavfilter/vf_stereo3d.c index b95a759cb3..d4f4951ebe 100644 --- a/libavfilter/vf_stereo3d.c +++ b/libavfilter/vf_stereo3d.c @@ -472,7 +472,7 @@ static int config_output(AVFilterLink *outlink) return 0; } -static inline uint8_t ana_convert(const int *coeff, uint8_t *left, uint8_t *right) +static inline uint8_t ana_convert(const int *coeff, const uint8_t *left, const uint8_t *right) { int sum; @@ -589,8 +589,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *inpicref) case ANAGLYPH_YB_COLOR: case ANAGLYPH_YB_DUBOIS: { int x, y, il, ir, o; - uint8_t *lsrc = ileft->data[0]; - uint8_t *rsrc = iright->data[0]; + const uint8_t *lsrc = ileft->data[0]; + const uint8_t *rsrc = iright->data[0]; uint8_t *dst = out->data[0]; int out_width = s->out.width; const int **ana_matrix = s->ana_matrix; |