aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2010-06-27 19:03:59 +0000
committerMartin Storsjö <martin@martin.st>2010-06-27 19:03:59 +0000
commit93f7aeb5ad88a0485c005e555a84cff3ce75ce1b (patch)
tree108f89bf30b24ab5cc3fdd61c9dd02d0736ce889 /libavfilter
parent206afa55e25245183d945b10ee7331ab02beb990 (diff)
downloadffmpeg-93f7aeb5ad88a0485c005e555a84cff3ce75ce1b.tar.gz
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
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_scale.c2
1 files changed, 1 insertions, 1 deletions
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;