# HG changeset patch # User cigaes # Date 1287048458 0 # Node ID 31424408df7973cb3168faaba67bc4cb8f6e99d7 # Parent ad86352b7c6bda9c45e6d5979b209f8fbb337d1b Cosmetic: remove useless braces. diff -r ad86352b7c6b -r 31424408df79 command.c --- a/command.c Thu Oct 14 09:26:21 2010 +0000 +++ b/command.c Thu Oct 14 09:27:38 2010 +0000 @@ -3112,30 +3112,23 @@ break; #endif /* CONFIG_TV */ case MP_CMD_TV_TELETEXT_ADD_DEC: - { if (mpctx->demuxer->teletext) teletext_control(mpctx->demuxer->teletext,TV_VBI_CONTROL_ADD_DEC, &(cmd->args[0].v.s)); break; - } case MP_CMD_TV_TELETEXT_GO_LINK: - { if (mpctx->demuxer->teletext) teletext_control(mpctx->demuxer->teletext,TV_VBI_CONTROL_GO_LINK, &(cmd->args[0].v.i)); break; - } + case MP_CMD_OVERLAY_ADD: - { overlay_add(cmd->args[0].v.s, cmd->args[1].v.i, cmd->args[2].v.i, cmd->args[3].v.i, cmd->args[4].v.i); break; - } case MP_CMD_OVERLAY_REMOVE: - { overlay_remove(cmd->args[0].v.i); break; - } case MP_CMD_SUB_LOAD: if (sh_video) {