Mercurial > mplayer.hg
changeset 35433:208bfdd26819
Cosmetic: Adjust indent and insert blank lines.
author | ib |
---|---|
date | Fri, 30 Nov 2012 12:25:03 +0000 |
parents | a545e4994460 |
children | e589db40d32e |
files | gui/ui/actions.c |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/ui/actions.c Fri Nov 30 12:22:45 2012 +0000 +++ b/gui/ui/actions.c Fri Nov 30 12:25:03 2012 +0000 @@ -89,10 +89,11 @@ if (guiInfo.Playing == GUI_PLAY) { mp_cmd_t *cmd = calloc(1, sizeof(*cmd)); + if (cmd) { - cmd->id = MP_CMD_PAUSE; - cmd->name = strdup("pause"); - mp_input_queue_cmd(cmd); + cmd->id = MP_CMD_PAUSE; + cmd->name = strdup("pause"); + mp_input_queue_cmd(cmd); } } else guiInfo.Playing = GUI_PLAY; @@ -248,6 +249,7 @@ case STREAMTYPE_CDDA: case STREAMTYPE_VCD: case STREAMTYPE_DVD: + break; default: