From 93f7aeb5ad88a0485c005e555a84cff3ce75ce1b Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Sun, 27 Jun 2010 19:03:59 +0000 Subject: [PATCH] Add a const declaration, fixing a warning Patch by Eli Friedman, eli dot friedman at gmail Originally committed as revision 23830 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavfilter/vf_scale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index 29fd3fe4ee..18c8881334 100644 --- a/libavfilter/vf_scale.c +++ b/libavfilter/vf_scale.c @@ -173,7 +173,7 @@ static void draw_slice(AVFilterLink *link, int y, int h, int slice_dir) ScaleContext *scale = link->dst->priv; int out_h; AVFilterPicRef *cur_pic = link->cur_pic; - uint8_t *data[4]; + const uint8_t *data[4]; if (scale->slice_y == 0 && slice_dir == -1) scale->slice_y = link->dst->outputs[0]->h;