view command.h @ 29866:32af1e6ef8d3

Check that mpctx->audio_out is not NULL when trying to uninit it. Make audio uninit consistent with e.g. the demuxer uninit code and also avoids a possible crash.
author reimar
date Fri, 13 Nov 2009 13:21:59 +0000
parents 8c92e7e4ccd9
children c1a3f1bbba26
line wrap: on
line source

#ifndef MPLAYER_COMMAND_H
#define MPLAYER_COMMAND_H

struct MPContext;
struct mp_cmd;

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

#endif /* MPLAYER_COMMAND_H */