1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

silence gcc warning about potential uninitialized usage

Originally committed as revision 23093 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2010-05-11 17:39:52 +00:00
parent d21f58b52d
commit 2c2b2c0ac2

View File

@ -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) {