Browse code

Fix type of out[] variable, it should not be const.

Fixes compiler warning about incompatible types in sws_scale call.

Reimar Döffinger authored on 2011/06/02 03:26:54
Showing 1 changed files
... ...
@@ -270,7 +270,8 @@ static int scale_slice(AVFilterLink *link, struct SwsContext *sws, int y, int h,
270 270
     ScaleContext *scale = link->dst->priv;
271 271
     AVFilterBufferRef *cur_pic = link->cur_buf;
272 272
     AVFilterBufferRef *out_buf = link->dst->outputs[0]->out_buf;
273
-    const uint8_t *in[4], *out[4];
273
+    const uint8_t *in[4];
274
+    uint8_t *out[4];
274 275
     int in_stride[4],out_stride[4];
275 276
     int i;
276 277