diff resample.c @ 2967:ef2149182f1c libavcodec

COSMETICS: Remove all trailing whitespace.
author diego
date Sat, 17 Dec 2005 18:14:38 +0000
parents e25782262d7d
children bfabfdf9ce55
line wrap: on
line diff
--- a/resample.c	Sat Dec 17 11:31:56 2005 +0000
+++ b/resample.c	Sat Dec 17 18:14:38 2005 +0000
@@ -124,11 +124,11 @@
     }
 }
 
-ReSampleContext *audio_resample_init(int output_channels, int input_channels, 
+ReSampleContext *audio_resample_init(int output_channels, int input_channels,
                                       int output_rate, int input_rate)
 {
     ReSampleContext *s;
-    
+
     if ( input_channels > 2)
       {
 	av_log(NULL, AV_LOG_ERROR, "Resampling with input channels greater than 2 unsupported.");
@@ -143,10 +143,10 @@
       }
 
     s->ratio = (float)output_rate / (float)input_rate;
-    
+
     s->input_channels = input_channels;
     s->output_channels = output_channels;
-    
+
     s->filter_channels = s->input_channels;
     if (s->output_channels < s->filter_channels)
         s->filter_channels = s->output_channels;
@@ -160,7 +160,7 @@
       s->filter_channels = 2;
 
     s->resample_context= av_resample_init(output_rate, input_rate, 16, 10, 0, 1.0);
-    
+
     return s;
 }
 
@@ -186,7 +186,7 @@
         memcpy(bufin[i], s->temp[i], s->temp_len * sizeof(short));
         buftmp2[i] = bufin[i] + s->temp_len;
     }
-    
+
     /* make some zoom to avoid round pb */
     lenout= (int)(nb_samples * s->ratio) + 16;
     bufout[0]= (short*) av_malloc( lenout * sizeof(short) );