comparison yuv4mpeg.c @ 256:2efd6fe95fc6 libavformat

yuv4mpeg.c extra space patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
author michaelni
date Thu, 25 Sep 2003 08:38:16 +0000
parents 3d92f793fd67
children a313e1080322
comparison
equal deleted inserted replaced
255:302d133294d3 256:2efd6fe95fc6
124 uint8_t *ptr, *ptr1, *ptr2; 124 uint8_t *ptr, *ptr1, *ptr2;
125 125
126 picture = (AVPicture *)buf; 126 picture = (AVPicture *)buf;
127 127
128 /* construct frame header */ 128 /* construct frame header */
129 m = snprintf(buf1, sizeof(buf1), "%s \n", Y4M_FRAME_MAGIC); 129 m = snprintf(buf1, sizeof(buf1), "%s\n", Y4M_FRAME_MAGIC);
130 put_buffer(pb, buf1, strlen(buf1)); 130 put_buffer(pb, buf1, strlen(buf1));
131 131
132 width = st->codec.width; 132 width = st->codec.width;
133 height = st->codec.height; 133 height = st->codec.height;
134 134