summaryrefslogtreecommitdiffstats
path: root/command.c
diff options
context:
space:
mode:
authorben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-05-08 21:22:21 +0000
committerben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-05-08 21:22:21 +0000
commitc30bdee5e3b4e494771538a050fa614ab6da7073 (patch)
tree2663c1eb7a6656fa241e6d68fc1b7eacc3a37031 /command.c
parentf4cca14e56de29b318e91b62313a37ffaf425c77 (diff)
downloadmpv-c30bdee5e3b4e494771538a050fa614ab6da7073.tar.bz2
mpv-c30bdee5e3b4e494771538a050fa614ab6da7073.tar.xz
cosmetic: use K&R coding style, as in reste of the file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23276 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'command.c')
-rw-r--r--command.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/command.c b/command.c
index d857837507..f967ef55d9 100644
--- a/command.c
+++ b/command.c
@@ -1943,8 +1943,7 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd)
tv_set_freq((tvi_handle_t *) (mpctx->demuxer->priv),
cmd->args[0].v.f * 16.0);
#ifdef HAVE_PVR
- else if (mpctx->stream && mpctx->stream->type == STREAMTYPE_PVR)
- {
+ else if (mpctx->stream && mpctx->stream->type == STREAMTYPE_PVR) {
pvr_set_freq (mpctx->stream, ROUND (cmd->args[0].v.f));
set_osd_msg (OSD_MSG_TV_CHANNEL, 1, osd_duration, "%s: %s",
pvr_get_current_channelname (mpctx->stream),
@@ -1958,8 +1957,7 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd)
tv_step_freq((tvi_handle_t *) (mpctx->demuxer->priv),
cmd->args[0].v.f * 16.0);
#ifdef HAVE_PVR
- else if (mpctx->stream && mpctx->stream->type == STREAMTYPE_PVR)
- {
+ else if (mpctx->stream && mpctx->stream->type == STREAMTYPE_PVR) {
pvr_force_freq_step (mpctx->stream, ROUND (cmd->args[0].v.f));
set_osd_msg (OSD_MSG_TV_CHANNEL, 1, osd_duration, "%s: f %d",
pvr_get_current_channelname (mpctx->stream),
@@ -1994,8 +1992,7 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd)
}
#ifdef HAVE_PVR
else if (mpctx->stream &&
- mpctx->stream->type == STREAMTYPE_PVR)
- {
+ mpctx->stream->type == STREAMTYPE_PVR) {
pvr_set_channel_step (mpctx->stream, cmd->args[0].v.i);
set_osd_msg (OSD_MSG_TV_CHANNEL, 1, osd_duration, "%s: %s",
pvr_get_current_channelname (mpctx->stream),
@@ -2036,8 +2033,7 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd)
}
}
#ifdef HAVE_PVR
- else if (mpctx->stream && mpctx->stream->type == STREAMTYPE_PVR)
- {
+ else if (mpctx->stream && mpctx->stream->type == STREAMTYPE_PVR) {
pvr_set_channel (mpctx->stream, cmd->args[0].v.s);
set_osd_msg (OSD_MSG_TV_CHANNEL, 1, osd_duration, "%s: %s",
pvr_get_current_channelname (mpctx->stream),
@@ -2075,8 +2071,7 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd)
}
}
#ifdef HAVE_PVR
- else if (mpctx->stream && mpctx->stream->type == STREAMTYPE_PVR)
- {
+ else if (mpctx->stream && mpctx->stream->type == STREAMTYPE_PVR) {
pvr_set_lastchannel (mpctx->stream);
set_osd_msg (OSD_MSG_TV_CHANNEL, 1, osd_duration, "%s: %s",
pvr_get_current_channelname (mpctx->stream),