Mercurial > libavcodec.hg
comparison resample.c @ 6023:78b46e3f9df2 libavcodec
Add missing '\n' to log format text
| author | andoma |
|---|---|
| date | Sat, 15 Dec 2007 10:03:49 +0000 |
| parents | 7d242886f17b |
| children | 1a93d3bbe3ee |
comparison
equal
deleted
inserted
replaced
| 6022:6dd429a5d0be | 6023:78b46e3f9df2 |
|---|---|
| 131 { | 131 { |
| 132 ReSampleContext *s; | 132 ReSampleContext *s; |
| 133 | 133 |
| 134 if ( input_channels > 2) | 134 if ( input_channels > 2) |
| 135 { | 135 { |
| 136 av_log(NULL, AV_LOG_ERROR, "Resampling with input channels greater than 2 unsupported."); | 136 av_log(NULL, AV_LOG_ERROR, "Resampling with input channels greater than 2 unsupported.\n"); |
| 137 return NULL; | 137 return NULL; |
| 138 } | 138 } |
| 139 | 139 |
| 140 s = av_mallocz(sizeof(ReSampleContext)); | 140 s = av_mallocz(sizeof(ReSampleContext)); |
| 141 if (!s) | 141 if (!s) |
| 142 { | 142 { |
| 143 av_log(NULL, AV_LOG_ERROR, "Can't allocate memory for resample context."); | 143 av_log(NULL, AV_LOG_ERROR, "Can't allocate memory for resample context.\n"); |
| 144 return NULL; | 144 return NULL; |
| 145 } | 145 } |
| 146 | 146 |
| 147 s->ratio = (float)output_rate / (float)input_rate; | 147 s->ratio = (float)output_rate / (float)input_rate; |
| 148 | 148 |
