Commit 6ed000c8 authored by Michael Niedermayer's avatar Michael Niedermayer

sws: Fix warning: ‘abase’ may be used uninitialized in this function

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 0a3a125f
...@@ -615,7 +615,7 @@ av_cold int ff_yuv2rgb_c_init_tables(SwsContext *c, const int inv_table[4], int ...@@ -615,7 +615,7 @@ av_cold int ff_yuv2rgb_c_init_tables(SwsContext *c, const int inv_table[4], int
uint8_t *y_table; uint8_t *y_table;
uint16_t *y_table16; uint16_t *y_table16;
uint32_t *y_table32; 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; const int yoffs = fullRange ? 384 : 326;
int64_t crv = inv_table[0]; int64_t crv = inv_table[0];
......
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