diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-02-23 14:03:18 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-02-23 14:03:18 +0100 |
commit | 5270cb39ba7c1842ab57ea0947a70d1ae396ed84 (patch) | |
tree | 60ec65d7c223b21dcd0b9255912a1797f6251c28 /libavcodec | |
parent | 23c9180c001cbb71dc7e50837435babb94271d07 (diff) | |
download | ffmpeg-5270cb39ba7c1842ab57ea0947a70d1ae396ed84.tar.gz |
bmp: Fix warning X may be used uninitialized in this function
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/bmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/bmp.c b/libavcodec/bmp.c index dddc818691..fb69396ab4 100644 --- a/libavcodec/bmp.c +++ b/libavcodec/bmp.c @@ -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; |