avcodec/g2meet: also reset local got_header when reseting the context got_header
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 2 Mar 2014 14:18:09 +0000 (15:18 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 2 Mar 2014 14:22:52 +0000 (15:22 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/g2meet.c

index 7275011..70b5f26 100644 (file)
@@ -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",