/* Convenience routines for allocating quantization and Huffman tables. (Would jutils.c be a more reasonable place to put these?)  */
jpeg_alloc_quant_table(j_common_ptr cinfo)
/* Convenience routines for allocating quantization and Huffman tables. (Would jutils.c be a more reasonable place to put these?)  */
jpeg_alloc_quant_table(j_common_ptr cinfo)
{
    JQUANT_TBL* tbl;
    tbl = (JQUANT_TBL*)
        (*cinfo->mem->alloc_small) (cinfo, JPOOL_PERMANENT, SIZEOF(JQUANT_TBL));
    tbl->sent_table = FALSE;
    return tbl;
}