Bug 1187420. r=drc r=jmuizelaar a=abillings

This commit is contained in:
Timothy Nikkel 2016-03-10 13:23:27 -06:00
parent f362349b5b
commit 1f99404503

View File

@ -41,6 +41,7 @@ add_huff_table (j_common_ptr cinfo,
ERREXIT(cinfo, JERR_BAD_HUFF_TABLE);
MEMCOPY((*htblptr)->huffval, val, nsymbols * sizeof(UINT8));
MEMZERO(&((*htblptr)->huffval[nsymbols]), (256 - nsymbols) * sizeof(UINT8));
/* Initialize sent_table FALSE so table will be written to JPEG file. */
(*htblptr)->sent_table = FALSE;