diff libmpdemux/demux_rtp_codec.cpp @ 29263:0f1b5b68af32

whitespace cosmetics: Remove all trailing whitespace.
author diego
date Wed, 13 May 2009 02:58:57 +0000
parents d643e4643313
children 9b2014f09534
line wrap: on
line diff
--- a/libmpdemux/demux_rtp_codec.cpp	Tue May 12 19:25:35 2009 +0000
+++ b/libmpdemux/demux_rtp_codec.cpp	Wed May 13 02:58:57 2009 +0000
@@ -82,7 +82,7 @@
 static Boolean
 parseQTState_audio(QuickTimeGenericRTPSource::QTState const& qtState,
 		   unsigned& fourcc, unsigned& numChannels); // forward
-		       
+
 static BITMAPINFOHEADER * insertVideoExtradata(BITMAPINFOHEADER *bih,
                                                unsigned char * extraData,
                                                unsigned size)
@@ -111,7 +111,7 @@
   sh_video->bih = bih;
   demux_stream_t* d_video = demuxer->video;
   d_video->sh = sh_video; sh_video->ds = d_video;
-  
+
   // Map known video MIME types to the BITMAPINFOHEADER parameters
   // that this program uses.  (Note that not all types need all
   // of the parameters to be set.)
@@ -187,11 +187,11 @@
       while (pos+8 < endpos) {
         unsigned atomLength = pos[0]<<24 | pos[1]<<16 | pos[2]<<8 | pos[3];
         if (atomLength == 0 || atomLength > endpos-pos) break;
-        if ((!memcmp(pos+4, "avcC", 4) && fourcc==mmioFOURCC('a','v','c','1') || 
-             !memcmp(pos+4, "esds", 4) || 
+        if ((!memcmp(pos+4, "avcC", 4) && fourcc==mmioFOURCC('a','v','c','1') ||
+             !memcmp(pos+4, "esds", 4) ||
              !memcmp(pos+4, "SMI ", 4) && fourcc==mmioFOURCC('S','V','Q','3')) &&
             atomLength > 8) {
-          sh_video->bih = bih = 
+          sh_video->bih = bih =
               insertVideoExtradata(bih, pos+8, atomLength-8);
           break;
         }
@@ -217,7 +217,7 @@
   demux_stream_t* d_audio = demuxer->audio;
   d_audio->sh = sh_audio; sh_audio->ds = d_audio;
   d_audio->id = sh_audio->aid;
-  
+
   wf->nChannels = subsession->numChannels();
 
   // Map known audio MIME types to the WAVEFORMATEX parameters
@@ -358,7 +358,7 @@
     sh_video->frametime = 1.0f/fps;
     return;
   }
-  
+
   // Keep looking at incoming frames until we see two with different,
   // non-zero "pts" timestamps:
   unsigned char* packetData; unsigned packetDataLen;