]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/qpeg: reduce unnecessary size of tables
authorPaul B Mahol <onemda@gmail.com>
Sun, 30 Aug 2020 21:49:11 +0000 (23:49 +0200)
committerPaul B Mahol <onemda@gmail.com>
Sun, 30 Aug 2020 21:52:21 +0000 (23:52 +0200)
libavcodec/qpeg.c

index 84304cae3b3b319936a167e2a2cbff9ebcbe7d8d..40931e3bdc6ac46950398468b1e79c8851cf4966 100644 (file)
@@ -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 */