[MPlayer-cvslog] r23276 - trunk/command.c

ben subversion at mplayerhq.hu
Tue May 8 23:22:21 CEST 2007


Author: ben
Date: Tue May  8 23:22:21 2007
New Revision: 23276

Log:
cosmetic: use K&R coding style, as in reste of the file

Modified:
   trunk/command.c

Modified: trunk/command.c
==============================================================================
--- trunk/command.c	(original)
+++ trunk/command.c	Tue May  8 23:22:21 2007
@@ -1943,8 +1943,7 @@ int run_command(MPContext * mpctx, mp_cm
 		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_cm
 		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_cm
 		}
 #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_cm
 		}
 	    }
 #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_cm
 		}
 	    }
 #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),



More information about the MPlayer-cvslog mailing list