Browse Source

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

Fixes compiler warning about incompatible types in sws_scale call.
Reimar Döffinger 13 years ago
parent
commit
bf19c87101
1 changed files with 2 additions and 1 deletions
  1. 2 1
      libavfilter/vf_scale.c

+ 2 - 1
libavfilter/vf_scale.c

@@ -270,7 +270,8 @@ static int scale_slice(AVFilterLink *link, struct SwsContext *sws, int y, int h,
     ScaleContext *scale = link->dst->priv;
     AVFilterBufferRef *cur_pic = link->cur_buf;
     AVFilterBufferRef *out_buf = link->dst->outputs[0]->out_buf;
-    const uint8_t *in[4], *out[4];
+    const uint8_t *in[4];
+    uint8_t *out[4];
     int in_stride[4],out_stride[4];
     int i;