From c62801270f3ec32f97966b0593c9919a95394db1 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 16 Aug 2013 15:01:47 +0200 Subject: [PATCH] swscale: change ff_dither_8x8_128 dimensions to be consistent with the others Signed-off-by: Michael Niedermayer --- libswscale/swscale.c | 3 ++- libswscale/swscale_internal.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 1ca6934981..c61989f8a6 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -35,7 +35,7 @@ #include "swscale_internal.h" #include "swscale.h" -DECLARE_ALIGNED(8, const uint8_t, ff_dither_8x8_128)[][8] = { +DECLARE_ALIGNED(8, const uint8_t, ff_dither_8x8_128)[9][8] = { { 36, 68, 60, 92, 34, 66, 58, 90, }, { 100, 4, 124, 28, 98, 2, 122, 26, }, { 52, 84, 44, 76, 50, 82, 42, 74, }, @@ -44,6 +44,7 @@ DECLARE_ALIGNED(8, const uint8_t, ff_dither_8x8_128)[][8] = { { 96, 0, 120, 24, 102, 6, 126, 30, }, { 48, 80, 40, 72, 54, 86, 46, 78, }, { 112, 16, 104, 8, 118, 22, 110, 14, }, + { 36, 68, 60, 92, 34, 66, 58, 90, }, }; DECLARE_ALIGNED(8, static const uint8_t, sws_pb_64)[8] = { diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index 8f614d3f13..eaaed0e3c5 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -820,7 +820,7 @@ extern const uint8_t ff_dither_2x2_8[3][8]; extern const uint8_t ff_dither_4x4_16[5][8]; extern const uint8_t ff_dither_8x8_32[9][8]; extern const uint8_t ff_dither_8x8_73[9][8]; -extern const uint8_t ff_dither_8x8_128[8][8]; +extern const uint8_t ff_dither_8x8_128[9][8]; extern const uint8_t ff_dither_8x8_220[9][8]; extern const int32_t ff_yuv2rgb_coeffs[8][4]; -- 2.11.0