yuv4mpeg.c extra space patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
authorSteven M. Schultz <sms@2bsd.com>
Thu, 25 Sep 2003 08:38:16 +0000 (08:38 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 25 Sep 2003 08:38:16 +0000 (08:38 +0000)
Originally committed as revision 2301 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/yuv4mpeg.c

index 1c6e74b..cc39ff8 100644 (file)
@@ -126,7 +126,7 @@ static int yuv4_write_packet(AVFormatContext *s, int stream_index,
     picture = (AVPicture *)buf;
 
     /* construct frame header */
-    m = snprintf(buf1, sizeof(buf1), "%s \n", Y4M_FRAME_MAGIC);
+    m = snprintf(buf1, sizeof(buf1), "%s\n", Y4M_FRAME_MAGIC);
     put_buffer(pb, buf1, strlen(buf1));
 
     width = st->codec.width;