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:
parent
d21f58b52d
commit
2c2b2c0ac2
@ -100,7 +100,7 @@ static int config_input(AVFilterLink *inlink)
|
|||||||
PadContext *pad = ctx->priv;
|
PadContext *pad = ctx->priv;
|
||||||
const AVPixFmtDescriptor *pix_desc = &av_pix_fmt_descriptors[inlink->format];
|
const AVPixFmtDescriptor *pix_desc = &av_pix_fmt_descriptors[inlink->format];
|
||||||
uint8_t rgba_color[4];
|
uint8_t rgba_color[4];
|
||||||
uint8_t rgba_map[4];
|
uint8_t rgba_map[4] = {0};
|
||||||
int i, is_packed_rgb = 1;
|
int i, is_packed_rgb = 1;
|
||||||
|
|
||||||
switch (inlink->format) {
|
switch (inlink->format) {
|
||||||
|
Loading…
Reference in New Issue
Block a user