Skip to content
Myr

Merge branch 'unknown-marker' of https://github.com/jeremysawicki/stb into working

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Sean Barrett · committed by Sean Barrett · parents 7e389e8, f5f7dc0 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:stb_image.h+1 added-1 removed
2842 unmodified lines
2843 if ((m >= 0xE0 && m <= 0xEF) || m == 0xFE) {2844 stbi__skip(z->s, stbi__get16be(z->s)-2);2845 return 1;2846 }2847 return 0;2847 return stbi__err("unknown marker","Corrupt JPEG");2848}28492850// after we see SOS2851static int stbi__process_scan_header(stbi__jpeg *z)
4198 unmodified lines