Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2020-08-31 00:49:11 +0300
committerPaul B Mahol <onemda@gmail.com>2020-08-31 00:52:21 +0300
commitef46de695f1f54ec1025ec20c07b25685787d956 (patch)
treeb189ed464c97388bcd8ef52f80a60a6f949c278f /libavcodec
parent341064d68a134e2fb3dd35f8f5b50c6df8506c10 (diff)
avcodec/qpeg: reduce unnecessary size of tables
Diffstat (limited to 'libavcodec')
-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 */