summaryrefslogtreecommitdiffstats
path: root/libavcodec/g2meet.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-06-09 16:55:10 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-06-09 16:55:10 +0200
commit2d8f880a9b5dbbae1778ab4e2e8b5a906e81c650 (patch)
tree7de083d1d5f2012eaecb98efe36ad5173b661f1d /libavcodec/g2meet.c
parentada497e61660b4a23d49eaf07fe19386573a6ba9 (diff)
downloadffmpeg-streaming-2d8f880a9b5dbbae1778ab4e2e8b5a906e81c650.zip
ffmpeg-streaming-2d8f880a9b5dbbae1778ab4e2e8b5a906e81c650.tar.gz
g2meet: fix typo in height comparission
Fixes CID1030349 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 a5edc33..9d74e37 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);
OpenPOWER on IntegriCloud