From: Michael Niedermayer Date: Sun, 9 Jun 2013 14:55:10 +0000 (+0200) Subject: g2meet: Fix a typo in the height comparison X-Git-Tag: n2.0~26^2~145 X-Git-Url: http://git.videolan.org/?p=ffmpeg.git;a=commitdiff_plain;h=7ad5708691413f59a116bd8a6ff605d57c8c5663;ds=sidebyside g2meet: Fix a typo in the height comparison Signed-off-by: Martin Storsjö --- diff --git a/libavcodec/g2meet.c b/libavcodec/g2meet.c index 43888dc8e3..a617df61ff 100644 --- a/libavcodec/g2meet.c +++ b/libavcodec/g2meet.c @@ -440,7 +440,7 @@ static int g2m_init_buffers(G2MContext *c) { int aligned_height; - if (!c->framebuf || c->old_width < c->width || c->height < c->height) { + if (!c->framebuf || c->old_width < c->width || c->old_height < c->height) { c->framebuf_stride = FFALIGN(c->width * 3, 16); aligned_height = FFALIGN(c->height, 16); av_free(c->framebuf);