diff --git a/libavformat/avienc.c b/libavformat/avienc.c index 0a6adb1b6cf8074f09f6a6bc041b88a0da517bcd..2239e2670e013d28fb7ccb91f5cbe4fdce0a01d1 100644 --- a/libavformat/avienc.c +++ b/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, 1024 * 1024); /* suggested buffer size */ if(video_enc){ - put_le32(pb, video_enc->width); - put_le32(pb, video_enc->height); + put_le32(pb, video_enc->width); + put_le32(pb, video_enc->height); } else { put_le32(pb, 0); put_le32(pb, 0);