From ef46de695f1f54ec1025ec20c07b25685787d956 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 30 Aug 2020 23:49:11 +0200 Subject: [PATCH] avcodec/qpeg: reduce unnecessary size of tables --- libavcodec/qpeg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/qpeg.c b/libavcodec/qpeg.c index 84304cae3b..40931e3bdc 100644 --- a/libavcodec/qpeg.c +++ b/libavcodec/qpeg.c @@ -115,9 +115,9 @@ static void qpeg_decode_intra(QpegContext *qctx, uint8_t *dst, } } -static const int qpeg_table_h[16] = +static const uint8_t qpeg_table_h[16] = { 0x00, 0x20, 0x20, 0x20, 0x18, 0x10, 0x10, 0x20, 0x10, 0x08, 0x18, 0x08, 0x08, 0x18, 0x10, 0x04}; -static const int qpeg_table_w[16] = +static const uint8_t qpeg_table_w[16] = { 0x00, 0x20, 0x18, 0x08, 0x18, 0x10, 0x20, 0x10, 0x08, 0x10, 0x20, 0x20, 0x08, 0x10, 0x18, 0x04}; /* Decodes delta frames */