[FFmpeg-cvslog] g2meet: Fix a typo in the height comparison

Michael Niedermayer git at videolan.org
Thu Jun 13 09:48:54 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Jun  9 16:55:10 2013 +0200| [7ad5708691413f59a116bd8a6ff605d57c8c5663] | committer: Martin Storsjö

g2meet: Fix a typo in the height comparison

Signed-off-by: Martin Storsjö <martin at martin.st>

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

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

diff --git a/libavcodec/g2meet.c b/libavcodec/g2meet.c
index 43888dc..a617df6 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