aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-02 15:18:09 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-23 20:31:05 +0100
commite1f51bbd1fbe562db189376f4b8a7afe5967f79f (patch)
tree63d99f8c6eeee8cbf690419b05059d21de7c7b51
parent4b7c149306cf36aeed379063fe656d48deb9c93b (diff)
downloadffmpeg-e1f51bbd1fbe562db189376f4b8a7afe5967f79f.tar.gz
avcodec/g2meet: also reset local got_header when reseting the context got_header
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 8b8ae298afb32979c81310ffdc9904d29497db5f) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/g2meet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/g2meet.c b/libavcodec/g2meet.c
index 727501173f..70b5f26049 100644
--- a/libavcodec/g2meet.c
+++ b/libavcodec/g2meet.c
@@ -691,6 +691,7 @@ static int g2m_decode_frame(AVCodecContext *avctx, void *data,
}
switch (chunk_type) {
case DISPLAY_INFO:
+ got_header =
c->got_header = 0;
if (chunk_size < 21) {
av_log(avctx, AV_LOG_ERROR, "Invalid display info size %d\n",