aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/g2meet.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-06-09 16:55:10 +0200
committerMartin Storsjö <martin@martin.st>2013-06-12 13:45:53 +0200
commit7ad5708691413f59a116bd8a6ff605d57c8c5663 (patch)
treef705a45305289ac626060a87c26a82871c9e9a7f /libavcodec/g2meet.c
parent7dfc3381dd039233026cbba5f3ca3d76e28be860 (diff)
downloadffmpeg-7ad5708691413f59a116bd8a6ff605d57c8c5663.tar.gz
g2meet: Fix a typo in the height comparison
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/g2meet.c')
-rw-r--r--libavcodec/g2meet.c2
1 files changed, 1 insertions, 1 deletions
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);