[MPlayer-cvslog] r21793 - trunk/stream/dvb_tune.c

nicodvb subversion at mplayerhq.hu
Sat Dec 30 23:43:12 CET 2006


Author: nicodvb
Date: Sat Dec 30 23:43:12 2006
New Revision: 21793

Modified:
   trunk/stream/dvb_tune.c

Log:
reindentation

Modified: trunk/stream/dvb_tune.c
==============================================================================
--- trunk/stream/dvb_tune.c	(original)
+++ trunk/stream/dvb_tune.c	Sat Dec 30 23:43:12 2006
@@ -113,15 +113,15 @@
 		return 0;
 	}
 #ifdef HAVE_DVB_HEAD
-    priv->sec_fd=0;
+	priv->sec_fd=0;
 #else
 	priv->sec_fd = open(dvb_secdev[n], O_RDWR);
-    if(priv->sec_fd < 0)
-    {
+	if(priv->sec_fd < 0)
+	{
 		mp_msg(MSGT_DEMUX, MSGL_ERR, "ERROR OPENING SEC DEVICE %s: ERRNO %d\n", dvb_secdev[n], errno);
 		close(priv->fe_fd);
-      	return 0;
-    }
+		return 0;
+	}
 #endif
 	priv->demux_fds_cnt = 0;
 	mp_msg(MSGT_DEMUX, MSGL_V, "DVB_OPEN_DEVICES(%d)\n", demux_cnt);
@@ -148,7 +148,7 @@
 		return 0;
 	}
 
-    return 1;
+	return 1;
 }
 
 
@@ -312,7 +312,7 @@
 		break;
     }
 
- 	mp_msg(MSGT_DEMUX, MSGL_V, "SEC CONT TONE: %s\n", (state->contTone == SEC_TONE_ON ? "ON" : "OFF"));
+    mp_msg(MSGT_DEMUX, MSGL_V, "SEC CONT TONE: %s\n", (state->contTone == SEC_TONE_ON ? "ON" : "OFF"));
     return 0;
 }
 
@@ -348,8 +348,8 @@
 
 	if (ioctl(fd_frontend,FE_SET_FRONTEND,feparams) < 0)
 	{
-	mp_msg(MSGT_DEMUX, MSGL_ERR, "ERROR tuning channel\n");
-	return -1;
+		mp_msg(MSGT_DEMUX, MSGL_ERR, "ERROR tuning channel\n");
+		return -1;
 	}
 
 	pfd[0].fd = fd_frontend;
@@ -445,8 +445,8 @@
 
 	while(1)
 	{
-	    if(ioctl(fd_frontend, FE_GET_EVENT, &event) == -1)
-	    break;
+		if(ioctl(fd_frontend, FE_GET_EVENT, &event) == -1)
+		break;
 	}
 
 	i = 0; res = -1;
@@ -546,9 +546,9 @@
 		mp_msg(MSGT_DEMUX, MSGL_V, "FE_STATUS:");
 		
 		if(ioctl(fd_frontend,FE_READ_STATUS,&festatus) >= 0)
-		    print_status(festatus);
+			print_status(festatus);
 		else
-		    mp_msg(MSGT_DEMUX, MSGL_ERR, " ERROR, UNABLE TO READ_STATUS");
+			mp_msg(MSGT_DEMUX, MSGL_ERR, " ERROR, UNABLE TO READ_STATUS");
 		    
 		mp_msg(MSGT_DEMUX, MSGL_V, "\n");
 	}



More information about the MPlayer-cvslog mailing list