Add missing '\n' to log format text
authorAndreas Öman <andreas@lonelycoder.com>
Sat, 15 Dec 2007 10:03:49 +0000 (10:03 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Sat, 15 Dec 2007 10:03:49 +0000 (10:03 +0000)
Originally committed as revision 11224 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/resample.c

index e427185..c6547d8 100644 (file)
@@ -133,14 +133,14 @@ 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.");
+        av_log(NULL, AV_LOG_ERROR, "Resampling with input channels greater than 2 unsupported.\n");
         return NULL;
       }
 
     s = av_mallocz(sizeof(ReSampleContext));
     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;
       }