Browse code

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2011/11/19 05:51:29
Showing 1 changed files
... ...
@@ -615,7 +615,7 @@ av_cold int ff_yuv2rgb_c_init_tables(SwsContext *c, const int inv_table[4], int
615 615
     uint8_t *y_table;
616 616
     uint16_t *y_table16;
617 617
     uint32_t *y_table32;
618
-    int i, base, rbase, gbase, bbase, abase, needAlpha;
618
+    int i, base, rbase, gbase, bbase, av_uninit(abase), needAlpha;
619 619
     const int yoffs = fullRange ? 384 : 326;
620 620
 
621 621
     int64_t crv =  inv_table[0];