mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
g2meet: fix typo in height comparission
Fixes CID1030349 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
ada497e616
commit
2d8f880a9b
@ -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…
Reference in New Issue
Block a user