Browse Source

g2meet: Fix a typo in the height comparison

Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n2.0
Michael Niedermayer Martin Storsjö 12 years ago
parent
commit
7ad5708691
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/g2meet.c

+ 1
- 1
libavcodec/g2meet.c View File

@@ -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);


Loading…
Cancel
Save