summaryrefslogtreecommitdiff
path: root/libavcodec/cbs_jpeg.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-02-08 09:59:59 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-02-11 19:38:40 +0100
commit321c31cfe632cf7763e2e09765d59f1ab40abf3a (patch)
treea2201fe282aed379ad2332165be076b7e2b3523b /libavcodec/cbs_jpeg.h
parent0dd1ff67c8a5b687f4b9beb51b425ef7fb8b72c1 (diff)
avcodec/cbs_jpeg: Fix size of huffman symbol table array
L[i] can be in the range of 0-255, see table B.5 of ITU T.81. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/cbs_jpeg.h')
-rw-r--r--libavcodec/cbs_jpeg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cbs_jpeg.h b/libavcodec/cbs_jpeg.h
index 6305f0ee86..9dbebd259f 100644
--- a/libavcodec/cbs_jpeg.h
+++ b/libavcodec/cbs_jpeg.h
@@ -99,7 +99,7 @@ typedef struct JPEGRawHuffmanTable {
uint8_t Tc;
uint8_t Th;
uint8_t L[16];
- uint8_t V[224];
+ uint8_t V[256];
} JPEGRawHuffmanTable;
typedef struct JPEGRawHuffmanTableSpecification {