Commit 8b8ae298 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/g2meet: also reset local got_header when reseting the context got_header

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 6b53c1aa
......@@ -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",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment