Mercurial > mplayer.hg
view TOOLS/subfont-c/osd/gen_osd_h.c @ 7852:e4f87bbf682c
- using avcodec_alloc_context()
- fixed 10l bug (double free() ) causing random mem corruption...
author | arpi |
---|---|
date | Tue, 22 Oct 2002 22:25:17 +0000 |
parents | 0dc9cb756b68 |
children | 9a754317898e |
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"); }