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

This commit is contained in:
Sean Barrett 2017-03-03 08:40:07 -08:00
commit 6a3d4786c9
1 changed files with 1 additions and 1 deletions

View File

@ -2844,7 +2844,7 @@ static int stbi__process_marker(stbi__jpeg *z, int m)
stbi__skip(z->s, stbi__get16be(z->s)-2);
return 1;
}
return 0;
return stbi__err("unknown marker","Corrupt JPEG");
}
// after we see SOS