Originally committed as revision 5100 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 19 years ago
parent 38cf2a723c
commit 98740f5a79
  1. 4
      libavformat/avienc.c

@ -378,8 +378,8 @@ static int avi_write_header(AVFormatContext *s)
put_le32(pb, s->nb_streams); /* nb streams */ put_le32(pb, s->nb_streams); /* nb streams */
put_le32(pb, 1024 * 1024); /* suggested buffer size */ put_le32(pb, 1024 * 1024); /* suggested buffer size */
if(video_enc){ if(video_enc){
put_le32(pb, video_enc->width); put_le32(pb, video_enc->width);
put_le32(pb, video_enc->height); put_le32(pb, video_enc->height);
} else { } else {
put_le32(pb, 0); put_le32(pb, 0);
put_le32(pb, 0); put_le32(pb, 0);

Loading…
Cancel
Save