TJExample: Fix array index OOB w/ 4:1:1 JPEG input
This commit is contained in:
@@ -28,6 +28,10 @@ ignoring typos.
|
|||||||
6. Fixed an access violation in tjbench.exe (Windows) that occurred when the
|
6. Fixed an access violation in tjbench.exe (Windows) that occurred when the
|
||||||
program was used to decompress an existing JPEG image.
|
program was used to decompress an existing JPEG image.
|
||||||
|
|
||||||
|
7. Fixed an ArrayIndexOutOfBoundsException in the TJExample Java program that
|
||||||
|
occurred when attempting to decompress a JPEG image that had been compressed
|
||||||
|
with 4:1:1 chrominance subsampling.
|
||||||
|
|
||||||
|
|
||||||
1.5.2
|
1.5.2
|
||||||
=====
|
=====
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ public class TJExample implements TJCustomFilter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static final String[] sampName = {
|
private static final String[] sampName = {
|
||||||
"4:4:4", "4:2:2", "4:2:0", "Grayscale", "4:4:0"
|
"4:4:4", "4:2:2", "4:2:0", "Grayscale", "4:4:0", "4:1:1"
|
||||||
};
|
};
|
||||||
|
|
||||||
public static void main(String[] argv) {
|
public static void main(String[] argv) {
|
||||||
|
|||||||
Reference in New Issue
Block a user