const char *psz_chroma;
};
-static struct preset_t p_presets[] =
+static const struct preset_t p_presets[] =
{
{ "sqcif", 128, 96, 29.97, "4:3", "YV12" },
{ "qcif", 176, 144, 29.97, "4:3", "YV12" },
uint32_t i_chroma;
char *psz_aspect_ratio;
unsigned int i_aspect = 0;
- struct preset_t *p_preset = NULL;
+ const struct preset_t *p_preset = NULL;
const uint8_t *p_peek;
bool b_valid = false;
bool b_y4m = false;
{
char *psz;
char *buf;
- int a, b = 1;
+ int a = 1;
+ int b = 1;
psz = stream_ReadLine( p_demux->s );
/* TODO: handle interlacing */