view TOOLS/subfont-c/osd/gen_osd_h.c @ 14936:5ce1e49b84fe

1.163: fixes for encoding of multiple files 1.164: Convert vo_aa suboption parser to using the subopt-helper
author kraymer
date Fri, 11 Mar 2005 02:26:11 +0000
parents 9a754317898e
children
line wrap: on
line source

#include <stdio.h>

int main()
{
    int c;
    int cnt;
    printf("unsigned char osd_font_pfb[] = {");
    for (cnt = 0;;cnt++) {
	if (cnt % 16 == 0) printf("\n");
	c = getchar();
	if (c < 0) break;
	printf("0x%02x,", c);
    }
    printf("};\n");
}