diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-11 20:13:13 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-11 20:20:24 +0400 |
commit | adcbb3fd8b23d8544dbb509e74703d8c0f8066cf (patch) | |
tree | 94c074371f2c7aef54450abb9d285adc278282d2 /libswscale/yuv2rgb.c | |
parent | b96d1859d523f4e2cee985e9fc4971ef6ed83422 (diff) |
yuv2rgb: fix declared array sizes, so they match actuals.
Fixes CID733789, and others
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale/yuv2rgb.c')
-rw-r--r-- | libswscale/yuv2rgb.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c index 8af3e9037e..18afc5b6bc 100644 --- a/libswscale/yuv2rgb.c +++ b/libswscale/yuv2rgb.c @@ -35,12 +35,12 @@ #include "swscale_internal.h" #include "libavutil/pixdesc.h" -extern const uint8_t dither_2x2_4[2][8]; -extern const uint8_t dither_2x2_8[2][8]; -extern const uint8_t dither_4x4_16[4][8]; -extern const uint8_t dither_8x8_32[8][8]; -extern const uint8_t dither_8x8_73[8][8]; -extern const uint8_t dither_8x8_220[8][8]; +extern const uint8_t dither_2x2_4[3][8]; +extern const uint8_t dither_2x2_8[3][8]; +extern const uint8_t dither_4x4_16[5][8]; +extern const uint8_t dither_8x8_32[9][8]; +extern const uint8_t dither_8x8_73[9][8]; +extern const uint8_t dither_8x8_220[9][8]; const int32_t ff_yuv2rgb_coeffs[8][4] = { { 117504, 138453, 13954, 34903 }, /* no sequence_display_extension */ |