diff options
author | Wei-Ta Chen <weita@google.com> | 2011-01-09 23:13:03 -0800 |
---|---|---|
committer | Wei-Ta Chen <weita@google.com> | 2011-01-10 22:54:22 -0800 |
commit | 27c2e1a63730561332f4d3c406c7e9b7c36963d2 (patch) | |
tree | e366f62f3f33e52ae8a4bcc728b510dd64cbc5c1 /jpeglib.h | |
parent | 6ead6aed9ef9420c6d4c5efd170d5ab502e337e5 (diff) | |
download | jpeg-27c2e1a63730561332f4d3c406c7e9b7c36963d2.tar.gz |
Fix the JPEG tile decode issue in the case of JPEGs having restart
markers.
The fix stores the restart information on each index point and restores
the restart information when we do the tile decode.
Bug: 3312406
Change-Id: I5cd8717d4b60ffb5d2e7c97189ee044d67472fe2
Diffstat (limited to 'jpeglib.h')
-rw-r--r-- | jpeglib.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -649,6 +649,10 @@ typedef struct { // save the decoder current bit buffer, entropy->bitstate.get_buffer. INT32 get_buffer; + + // save the restart info. + unsigned short restarts_to_go; + unsigned char next_restart_num; } huffman_offset_data; typedef struct { |