*/
#include "libavutil/intreadwrite.h"
+#include "libavutil/xga_font_data.h"
#include "avcodec.h"
#include "cga_data.h"
#include "bintext.h"
uint8_t *p;
int i;
- avctx->pix_fmt = PIX_FMT_PAL8;
+ avctx->pix_fmt = AV_PIX_FMT_PAL8;
p = avctx->extradata;
if (p) {
s->font_height = p[0];
av_log(avctx, AV_LOG_WARNING, "font height %i not supported\n", s->font_height);
s->font_height = 8;
case 8:
- s->font = ff_cga_font;
+ s->font = avpriv_cga_font;
break;
case 16:
- s->font = ff_vga16_font;
+ s->font = avpriv_vga16_font;
break;
}
}