aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer2015-09-04 12:11:46 +0200
committerMichael Niedermayer2015-09-04 12:14:14 +0200
commitfb0466699575724923aeddc4490302180dfdf4af (patch)
tree1d93d996dd53ae857b930a0a25a5e5aea9276b61
parent71ec8e1ed6cf4947e204e3e4b5929a44c054f5fb (diff)
avcodec/g2meet: Also clear tile dimensions on header_fail
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavcodec/g2meet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/g2meet.c b/libavcodec/g2meet.c
index 487b75f154..ba83c67337 100644
--- a/libavcodec/g2meet.c
+++ b/libavcodec/g2meet.c
@@ -1580,6 +1580,8 @@ header_fail:
c->height = 0;
c->tiles_x =
c->tiles_y = 0;
+ c->tile_width =
+ c->tile_height = 0;
return ret;
}