[FFmpeg-cvslog] g2meet: fix typo in height comparission

Michael Niedermayer git at videolan.org
Sun Jun 9 17:16:13 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Jun  9 16:55:10 2013 +0200| [2d8f880a9b5dbbae1778ab4e2e8b5a906e81c650] | committer: Michael Niedermayer

g2meet: fix typo in height comparission

Fixes CID1030349
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2d8f880a9b5dbbae1778ab4e2e8b5a906e81c650
---

 libavcodec/g2meet.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



More information about the ffmpeg-cvslog mailing list