summaryrefslogtreecommitdiff
path: root/libavcodec/qpeg.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2020-08-30 23:49:11 +0200
committerPaul B Mahol <onemda@gmail.com>2020-08-30 23:52:21 +0200
commitef46de695f1f54ec1025ec20c07b25685787d956 (patch)
treeb189ed464c97388bcd8ef52f80a60a6f949c278f /libavcodec/qpeg.c
parent341064d68a134e2fb3dd35f8f5b50c6df8506c10 (diff)
avcodec/qpeg: reduce unnecessary size of tables
Diffstat (limited to 'libavcodec/qpeg.c')
-rw-r--r--libavcodec/qpeg.c4
1 files 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 */