[MPlayer-cvslog] r35527 - trunk/gui/ui/actions.c
ib
subversion at mplayerhq.hu
Fri Nov 30 13:25:03 CET 2012
Author: ib
Date: Fri Nov 30 13:25:03 2012
New Revision: 35527
Log:
Cosmetic: Adjust indent and insert blank lines.
Modified:
trunk/gui/ui/actions.c
Modified: trunk/gui/ui/actions.c
==============================================================================
--- trunk/gui/ui/actions.c Fri Nov 30 13:22:45 2012 (r35526)
+++ trunk/gui/ui/actions.c Fri Nov 30 13:25:03 2012 (r35527)
@@ -89,10 +89,11 @@ void uiPause(void)
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 @@ void uiCurr(void)
case STREAMTYPE_CDDA:
case STREAMTYPE_VCD:
case STREAMTYPE_DVD:
+
break;
default:
More information about the MPlayer-cvslog
mailing list