[x] I have written a descriptive pull-request title
[x] I have verified that there are no overlapping pull-requests open
[x] I have verified that I am following the existing coding patterns and practice as demonstrated in the repository. These follow strict Stylecop rules :cop:.
[x] I have provided test coverage for my change (where applicable)
Description
Fixes #2752
We weren't breaking from the loop only the nested switch. We were also missing a chunk break. The first fcTL chunk in a PNG is followed by one or more IDAT chunk, only subsequent fcTL chunks are followed by fdAT chunks.
Prerequisites
Description
Fixes #2752
We weren't breaking from the loop only the nested switch. We were also missing a chunk break. The first
fcTL
chunk in a PNG is followed by one or moreIDAT
chunk, only subsequentfcTL
chunks are followed byfdAT
chunks.The test image contains the following chunks.