From: Paul B Mahol Date: Sun, 30 Aug 2020 21:49:11 +0000 (+0200) Subject: avcodec/qpeg: reduce unnecessary size of tables X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=ef46de695f1f54ec1025ec20c07b25685787d956;p=ffmpeg avcodec/qpeg: reduce unnecessary size of tables --- diff --git a/libavcodec/qpeg.c b/libavcodec/qpeg.c index 84304cae3b3..40931e3bdc6 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 */