Mercurial > libavcodec.hg
diff resample.c @ 1598:932d306bf1dc libavcodec
av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
| author | michael |
|---|---|
| date | Mon, 03 Nov 2003 13:26:22 +0000 |
| parents | daa70b33fc44 |
| children | 3dc9bbe1b152 |
line wrap: on
line diff
--- a/resample.c Sun Nov 02 23:19:47 2003 +0000 +++ b/resample.c Mon Nov 03 13:26:22 2003 +0000 @@ -243,14 +243,14 @@ 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; }
