Browse Source

Add missing '\n' to log format text

Originally committed as revision 11224 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Andreas Öman 18 years ago
parent
commit
30dc554153
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/resample.c

+ 2
- 2
libavcodec/resample.c View File

@@ -133,14 +133,14 @@ ReSampleContext *audio_resample_init(int output_channels, int input_channels,


if ( input_channels > 2) if ( input_channels > 2)
{ {
av_log(NULL, AV_LOG_ERROR, "Resampling with input channels greater than 2 unsupported.");
av_log(NULL, AV_LOG_ERROR, "Resampling with input channels greater than 2 unsupported.\n");
return NULL; return NULL;
} }


s = av_mallocz(sizeof(ReSampleContext)); s = av_mallocz(sizeof(ReSampleContext));
if (!s) if (!s)
{ {
av_log(NULL, AV_LOG_ERROR, "Can't allocate memory for resample context.");
av_log(NULL, AV_LOG_ERROR, "Can't allocate memory for resample context.\n");
return NULL; return NULL;
} }




Loading…
Cancel
Save