Mercurial > libavcodec.hg
diff resample.c @ 2979:bfabfdf9ce55 libavcodec
COSMETICS: tabs --> spaces, some prettyprinting
author | diego |
---|---|
date | Thu, 22 Dec 2005 01:10:11 +0000 |
parents | ef2149182f1c |
children | 0b546eab515d |
line wrap: on
line diff
--- a/resample.c Wed Dec 21 17:50:40 2005 +0000 +++ b/resample.c Thu Dec 22 01:10:11 2005 +0000 @@ -131,15 +131,15 @@ if ( input_channels > 2) { - av_log(NULL, AV_LOG_ERROR, "Resampling with input channels greater than 2 unsupported."); - return NULL; + av_log(NULL, AV_LOG_ERROR, "Resampling with input channels greater than 2 unsupported."); + return NULL; } s = av_mallocz(sizeof(ReSampleContext)); if (!s) { - av_log(NULL, AV_LOG_ERROR, "Can't allocate memory for resample context."); - return NULL; + av_log(NULL, AV_LOG_ERROR, "Can't allocate memory for resample context."); + return NULL; } s->ratio = (float)output_rate / (float)input_rate;