summaryrefslogtreecommitdiff
path: root/libavcodec/resample.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/resample.c')
-rw-r--r--libavcodec/resample.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/resample.c b/libavcodec/resample.c
index d154e8a855..55ece0e1cb 100644
--- a/libavcodec/resample.c
+++ b/libavcodec/resample.c
@@ -131,15 +131,15 @@ ReSampleContext *audio_resample_init(int output_channels, int input_channels,
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;