1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

yuv2rgb: fix declared array sizes, so they match actuals.

Fixes CID733789, and others
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-10-11 18:13:13 +02:00
parent b96d1859d5
commit adcbb3fd8b

View File

@ -35,12 +35,12 @@
#include "swscale_internal.h" #include "swscale_internal.h"
#include "libavutil/pixdesc.h" #include "libavutil/pixdesc.h"
extern const uint8_t dither_2x2_4[2][8]; extern const uint8_t dither_2x2_4[3][8];
extern const uint8_t dither_2x2_8[2][8]; extern const uint8_t dither_2x2_8[3][8];
extern const uint8_t dither_4x4_16[4][8]; extern const uint8_t dither_4x4_16[5][8];
extern const uint8_t dither_8x8_32[8][8]; extern const uint8_t dither_8x8_32[9][8];
extern const uint8_t dither_8x8_73[8][8]; extern const uint8_t dither_8x8_73[9][8];
extern const uint8_t dither_8x8_220[8][8]; extern const uint8_t dither_8x8_220[9][8];
const int32_t ff_yuv2rgb_coeffs[8][4] = { const int32_t ff_yuv2rgb_coeffs[8][4] = {
{ 117504, 138453, 13954, 34903 }, /* no sequence_display_extension */ { 117504, 138453, 13954, 34903 }, /* no sequence_display_extension */