Merge branch 'fill-bytes' of https://github.com/jeremysawicki/stb into working

master
Sean Barrett ago%!(EXTRA string=8 years)
commit 50ae79d811
  1. 1
      stb_image.h

@ -1776,6 +1776,7 @@ static void stbi__grow_buffer_unsafe(stbi__jpeg *j)
int b = j->nomore ? 0 : stbi__get8(j->s);
if (b == 0xff) {
int c = stbi__get8(j->s);
while (c == 0xff) c = stbi__get8(j->s);
if (c != 0) {
j->marker = (unsigned char) c;
j->nomore = 1;

Loading…
Cancel
Save