view mp-opt-reg.c @ 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 b65b78640d49
children
line wrap: on
line source

#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include "cfgparser.h"

extern void mp_input_register_options(m_config_t* cfg);
extern void libmpdemux_register_options(m_config_t* cfg);
extern void libvo_register_options(m_config_t* cfg);

void
mp_register_options(m_config_t* cfg) {
  
  mp_input_register_options(cfg);
  libmpdemux_register_options(cfg);
  libvo_register_options(cfg);
}