[FFmpeg-cvslog] Fix type of out[] variable, it should not be const.
Reimar Döffinger
git at videolan.org
Wed Jun 1 20:31:27 CEST 2011
ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Wed Jun 1 20:26:54 2011 +0200| [bf19c871012644fe27c69531b5f733c472aa858b] | committer: Reimar Döffinger
Fix type of out[] variable, it should not be const.
Fixes compiler warning about incompatible types in sws_scale call.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bf19c871012644fe27c69531b5f733c472aa858b
---
libavfilter/vf_scale.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c
index 9ff93bd..e172a2e 100644
--- a/libavfilter/vf_scale.c
+++ b/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;
More information about the ffmpeg-cvslog
mailing list