Commit df3788e
committed
decoder: fix reinit when Huffman is run on CPU
broken by the commit 41fb824 (15th Jan 2025)
The problem is after that change when using CPU Huffman decoder,
and using the 2nd image smaller than the first that since
the commit, the per-component pointers won't get updated by
gpujpeg_coder_allocate_cpu_huffman_buf(), which is no longer called
(data_quantizied != NULL).
fixes <#108>1 parent 6a24559 commit df3788e
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
946 | 946 | | |
947 | 947 | | |
948 | 948 | | |
| 949 | + | |
949 | 950 | | |
950 | 951 | | |
951 | 952 | | |
952 | 953 | | |
953 | 954 | | |
954 | 955 | | |
| 956 | + | |
955 | 957 | | |
956 | 958 | | |
| 959 | + | |
957 | 960 | | |
958 | 961 | | |
959 | 962 | | |
| |||
0 commit comments