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
This commit is contained in:
Eli Friedman 2010-06-27 19:03:59 +00:00 committed by Martin Storsjö
parent 206afa55e2
commit 93f7aeb5ad
1 changed files with 1 additions and 1 deletions

View File

@ -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;