Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion thirdparty/stb_image_write.h
Original file line number Diff line number Diff line change
Expand Up @@ -1528,7 +1528,7 @@ static int stbi_write_jpg_core(stbi__write_context *s, int width, int height, in

// comment block with parameters of generation
if(parameters != NULL) {
stbiw__putc(s, 0xFF /* comnent */ );
stbiw__putc(s, 0xFF /* comment */ );
stbiw__putc(s, 0xFE /* marker */ );
int param_length = STBMIN(2 + (int)strlen("parameters") + 1 + (int)strlen(parameters) + 1, 0xFFFF);
stbiw__putc(s, param_length >> 8); // no need to mask, length < 65536
Expand Down
Loading