diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-11-18 21:51:29 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-11-18 21:51:29 +0100 |
commit | 6ed000c8e6e8a5f55433b2d67e21bcba2ebc4b5d (patch) | |
tree | 6dfcbf75e30f39748ce6ea9e0f0555234b720acc /libswscale/yuv2rgb.c | |
parent | 0a3a125fd9c9ccdd8c4db9dac76c70bc96444c02 (diff) | |
download | ffmpeg-6ed000c8e6e8a5f55433b2d67e21bcba2ebc4b5d.tar.gz |
sws: Fix warning: ‘abase’ may be used uninitialized in this function
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale/yuv2rgb.c')
-rw-r--r-- | libswscale/yuv2rgb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c index eb478e2186..c2c9090a36 100644 --- a/libswscale/yuv2rgb.c +++ b/libswscale/yuv2rgb.c @@ -615,7 +615,7 @@ av_cold int ff_yuv2rgb_c_init_tables(SwsContext *c, const int inv_table[4], int uint8_t *y_table; uint16_t *y_table16; uint32_t *y_table32; - int i, base, rbase, gbase, bbase, abase, needAlpha; + int i, base, rbase, gbase, bbase, av_uninit(abase), needAlpha; const int yoffs = fullRange ? 384 : 326; int64_t crv = inv_table[0]; |