Mercurial > libavcodec.hg
comparison resample.c @ 2522:e25782262d7d libavcodec
kill warnings patch by (Mns Rullgrd <mru inprovide com>)
author | michael |
---|---|
date | Thu, 24 Feb 2005 19:08:50 +0000 |
parents | de38526a1f3f |
children | ef2149182f1c |
comparison
equal
deleted
inserted
replaced
2521:d3885f927bc7 | 2522:e25782262d7d |
---|---|
126 | 126 |
127 ReSampleContext *audio_resample_init(int output_channels, int input_channels, | 127 ReSampleContext *audio_resample_init(int output_channels, int input_channels, |
128 int output_rate, int input_rate) | 128 int output_rate, int input_rate) |
129 { | 129 { |
130 ReSampleContext *s; | 130 ReSampleContext *s; |
131 int i; | |
132 | 131 |
133 if ( input_channels > 2) | 132 if ( input_channels > 2) |
134 { | 133 { |
135 av_log(NULL, AV_LOG_ERROR, "Resampling with input channels greater than 2 unsupported."); | 134 av_log(NULL, AV_LOG_ERROR, "Resampling with input channels greater than 2 unsupported."); |
136 return NULL; | 135 return NULL; |