You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-16 22:42:38 +02:00
g2meet: Fix a typo in the height comparison
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
committed by
Martin Storsjö
parent
7dfc3381dd
commit
7ad5708691
@ -440,7 +440,7 @@ static int g2m_init_buffers(G2MContext *c)
|
|||||||
{
|
{
|
||||||
int aligned_height;
|
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);
|
c->framebuf_stride = FFALIGN(c->width * 3, 16);
|
||||||
aligned_height = FFALIGN(c->height, 16);
|
aligned_height = FFALIGN(c->height, 16);
|
||||||
av_free(c->framebuf);
|
av_free(c->framebuf);
|
||||||
|
Reference in New Issue
Block a user