Skip to content

Commit 9750014

Browse files
author
Dmitry Pentin
committed
Added todo
1 parent db04e41 commit 9750014

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ImageSharp/Formats/Jpeg/JpegDecoderCore.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,6 +1034,7 @@ private void ProcessStartOfScanMarker(BufferedReadStream stream, int remaining,
10341034
// Validate: both must be < 4
10351035
if (dcTableIndex >= 4 || acTableIndex >= 4)
10361036
{
1037+
// TODO: extract as separate method?
10371038
JpegThrowHelper.ThrowInvalidImageContentException($"Invalid huffman table for component:{componentSelectorId}: dc={dcTableIndex}, ac={acTableIndex}");
10381039
}
10391040

0 commit comments

Comments
 (0)