[FFmpeg-cvslog] avcodec/g2meet: also reset local got_header when reseting the context got_header
Michael Niedermayer
git at videolan.org
Sun Mar 23 21:12:17 CET 2014
ffmpeg | branch: release/2.2 | Michael Niedermayer <michaelni at gmx.at> | Sun Mar 2 15:18:09 2014 +0100| [e1f51bbd1fbe562db189376f4b8a7afe5967f79f] | committer: Michael Niedermayer
avcodec/g2meet: also reset local got_header when reseting the context got_header
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 8b8ae298afb32979c81310ffdc9904d29497db5f)
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e1f51bbd1fbe562db189376f4b8a7afe5967f79f
---
libavcodec/g2meet.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/g2meet.c b/libavcodec/g2meet.c
index 7275011..70b5f26 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",
More information about the ffmpeg-cvslog
mailing list