diff sol.c @ 885:da1d5db0ce5c libavformat

COSMETICS: Remove all trailing whitespace.
author diego
date Sat, 17 Dec 2005 18:14:38 +0000
parents feca73904e67
children edbe5c3717f9
line wrap: on
line diff
--- a/sol.c	Sat Dec 17 17:57:03 2005 +0000
+++ b/sol.c	Sat Dec 17 18:14:38 2005 +0000
@@ -1,4 +1,4 @@
-/* 
+/*
  * Sierra SOL decoder
  * Copyright Konstantin Shishkov.
  *
@@ -17,7 +17,7 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-/* 
+/*
  * Based on documents from Game Audio Player and own research
  */
 
@@ -81,7 +81,7 @@
     if (magic == 0x0B8D || !(type & SOL_STEREO)) return 1;
     return 2;
 }
-    
+
 static int sol_read_header(AVFormatContext *s,
                           AVFormatParameters *ap)
 {
@@ -101,14 +101,14 @@
     size = get_le32(pb);
     if (magic != 0x0B8D)
         get_byte(pb); /* newer SOLs contain padding byte */
-    
+
     codec = sol_codec_id(magic, type);
     channels = sol_channels(magic, type);
-    
+
     if (codec == CODEC_ID_SOL_DPCM)
         id = sol_codec_type(magic, type);
     else id = 0;
-    
+
     /* now we are ready: build format streams */
     st = av_new_stream(s, 0);
     if (!st)
@@ -117,7 +117,7 @@
     st->codec->codec_tag = id;
     st->codec->codec_id = codec;
     st->codec->channels = channels;
-    st->codec->sample_rate = rate;    
+    st->codec->sample_rate = rate;
     av_set_pts_info(st, 64, 1, rate);
     return 0;
 }