aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2010-05-11 17:39:52 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2010-05-11 17:39:52 +0000
commit2c2b2c0ac2683319eef062afb942bffd8d1760dd (patch)
treecf779722465c49a4c9b08a1708efb5b628040a8b /libavfilter
parentd21f58b52d8c901487baa796d8568cb31b3b56ca (diff)
downloadffmpeg-2c2b2c0ac2683319eef062afb942bffd8d1760dd.tar.gz
silence gcc warning about potential uninitialized usage
Originally committed as revision 23093 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_pad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_pad.c b/libavfilter/vf_pad.c
index 072a747c85..44a186e9ba 100644
--- a/libavfilter/vf_pad.c
+++ b/libavfilter/vf_pad.c
@@ -100,7 +100,7 @@ static int config_input(AVFilterLink *inlink)
PadContext *pad = ctx->priv;
const AVPixFmtDescriptor *pix_desc = &av_pix_fmt_descriptors[inlink->format];
uint8_t rgba_color[4];
- uint8_t rgba_map[4];
+ uint8_t rgba_map[4] = {0};
int i, is_packed_rgb = 1;
switch (inlink->format) {