OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb5a3ab
)
Fix type of out[] variable, it should not be const.
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Wed, 1 Jun 2011 18:26:54 +0000
(20:26 +0200)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Wed, 1 Jun 2011 18:26:54 +0000
(20:26 +0200)
Fixes compiler warning about incompatible types in sws_scale call.
libavfilter/vf_scale.c
patch
|
blob
|
history
diff --git
a/libavfilter/vf_scale.c
b/libavfilter/vf_scale.c
index
9ff93bd
..
e172a2e
100644
(file)
--- 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;