[vlc-devel] [PATCH 2/2] Removed trailing spaces
Diarmuid Collins
diarmuid.m.collins at gmail.com
Mon Apr 29 16:41:08 CEST 2013
From: Diarmuid Collins <dcollins at curtisswright.com>
---
modules/access/inetx.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/modules/access/inetx.c b/modules/access/inetx.c
index f3211c9..98ceb5b 100755
--- a/modules/access/inetx.c
+++ b/modules/access/inetx.c
@@ -36,7 +36,7 @@
* be carried over this protocol
* http://en.wikipedia.org/wiki/Bus_monitoring#Packetizer_bus_monitor
*****************************************************************************/
-
+
/*****************************************************************************
* Preamble
*****************************************************************************/
@@ -210,29 +210,29 @@ static block_t *BlockINETX( access_t *p_access )
access_sys_t *p_sys = p_access->p_sys;
block_t *p_block;
ssize_t len;
-
+
/* The iNET-X header contains stream ids, sequence numbers and PTP timestamps*
- * For the moment these headers will be ignore and we pick out the raw MPEG ts
+ * For the moment these headers will be ignore and we pick out the raw MPEG ts
* which is offset INETX_HDR_LEN bytes into the UDP payload
*/
const int INETX_HDR_LEN = 28;
if( p_access->info.b_eof )
return NULL;
-
+
/* Read data */
p_block = block_Alloc( MTU - INETX_HDR_LEN );
char * temp = malloc(MTU);
len = net_Read( p_access, (intptr_t)p_sys, NULL,
temp, MTU, false );
-
+
for (int i = INETX_HDR_LEN ; i < MTU ; ++i)
{
// strip out the first INETX_HDR_LEN bytes from the UDP payload
p_block->p_buffer[i - INETX_HDR_LEN] = temp[i];
}
free(temp);
-
+
if( len < 0 )
{
block_Release( p_block );
--
1.7.9.5
More information about the vlc-devel
mailing list