提交 93f7aeb5 编写于 作者: E Eli Friedman 提交者: Martin Storsjö

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
上级 206afa55
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册