Skip to content
Myr

stb_image: JPEG: Accept fill bytes in stbi__grow_buffer_unsafe

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

authored by Jeremy Sawicki · committed by Jeremy Sawicki · parent 59a5a15 · Browse files · 1 file+1 added−0 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−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:stb_image.h+1 added
1849 unmodified lines
1850 do {1851 int b = j->nomore ? 0 : stbi__get8(j->s);1852 if (b == 0xff) {1853 int c = stbi__get8(j->s);1854 while (c == 0xff) c = stbi__get8(j->s);1855 if (c != 0) {1856 j->marker = (unsigned char) c;1857 j->nomore = 1;1858 return;
5245 unmodified lines