Commit 7ad57086 authored by Michael Niedermayer's avatar Michael Niedermayer Committed by Martin Storsjö

g2meet: Fix a typo in the height comparison

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 7dfc3381
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment