summaryrefslogtreecommitdiff
path: root/libavcodec/resample.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/resample.c')
-rw-r--r--libavcodec/resample.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/resample.c b/libavcodec/resample.c
index 2a8d6a0234..f6f0bf42b9 100644
--- a/libavcodec/resample.c
+++ b/libavcodec/resample.c
@@ -243,14 +243,14 @@ ReSampleContext *audio_resample_init(int output_channels, int input_channels,
if ( input_channels > 2)
{
- printf("Resampling with input channels greater than 2 unsupported.");
+ av_log(NULL, AV_LOG_ERROR, "Resampling with input channels greater than 2 unsupported.");
return NULL;
}
s = av_mallocz(sizeof(ReSampleContext));
if (!s)
{
- printf("Can't allocate memory for resample context.");
+ av_log(NULL, AV_LOG_ERROR, "Can't allocate memory for resample context.");
return NULL;
}