1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-20 14:56:55 +00:00

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
This commit is contained in:
ben 2007-05-08 21:22:21 +00:00
parent f4cca14e56
commit c30bdee5e3

View File

@ -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),