aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-09-04 12:11:46 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-11-12 02:55:46 +0100
commit484eb2b0e3b2911be7d242d0eacc8a9e5c7e8613 (patch)
treef178506e8a8fc6e8aaae12a3893ede6975de86cb
parent746a65640f7149b56afd586412a8ae74980fd553 (diff)
downloadffmpeg-484eb2b0e3b2911be7d242d0eacc8a9e5c7e8613.tar.gz
avcodec/g2meet: Also clear tile dimensions on header_fail
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit fb0466699575724923aeddc4490302180dfdf4af) 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 cd0d80d894..5a37fea59b 100644
--- a/libavcodec/g2meet.c
+++ b/libavcodec/g2meet.c
@@ -877,6 +877,8 @@ header_fail:
c->height = 0;
c->tiles_x =
c->tiles_y = 0;
+ c->tile_width =
+ c->tile_height = 0;
return ret;
}