Commit 5270cb39 authored by Michael Niedermayer's avatar Michael Niedermayer

bmp: Fix warning X may be used uninitialized in this function

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 23c9180c
......@@ -50,7 +50,7 @@ static int bmp_decode_frame(AVCodecContext *avctx,
BiCompression comp;
unsigned int ihsize;
int i, j, n, linesize, ret;
uint32_t rgb[3];
uint32_t rgb[3] = {0};
uint32_t alpha = 0;
uint8_t *ptr;
int dsize;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment