view command.h @ 23766:f0c2f9de85ba

Make sure that sub->id is -2 and sub->sh is NULL if subtitle doesn't exist. Probably sanest way to avoid crash in e.g. mov demuxer without having to check both all the time.
author reimar
date Sun, 15 Jul 2007 17:56:06 +0000
parents 1d807885ce7b
children 6ac1ece1f9fe
line wrap: on
line source

int run_command(struct MPContext *mpctx, mp_cmd_t *cmd);
char *property_expand_string(struct MPContext *mpctx, char *str);
void property_print_help(void);