view sub_cc.h @ 7353:0cb951ac0133

Use the character substitution code from fntRender() / fntTextWidth() for non-existant characters in fntTextHeight(), too. Otherwise the image height is mis-computed and we allocate an output image that is too small; this could result in malloc heap corruption.
author jkeil
date Tue, 10 Sep 2002 12:44:47 +0000
parents a3b2f80f3a26
children f580a7755ac5
line wrap: on
line source

#ifndef SUB_CC_H
#define SUB_CC_H

extern int subcc_enabled;

void subcc_init();
void subcc_process_data(unsigned char *inputdata,unsigned int len);

#endif /*SUB_CC_H*/