mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-31 03:44:15 +00:00
avcodec/g2meet: also reset local got_header when reseting the context got_header
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
6b53c1aa82
commit
8b8ae298af
@ -691,6 +691,7 @@ static int g2m_decode_frame(AVCodecContext *avctx, void *data,
|
|||||||
}
|
}
|
||||||
switch (chunk_type) {
|
switch (chunk_type) {
|
||||||
case DISPLAY_INFO:
|
case DISPLAY_INFO:
|
||||||
|
got_header =
|
||||||
c->got_header = 0;
|
c->got_header = 0;
|
||||||
if (chunk_size < 21) {
|
if (chunk_size < 21) {
|
||||||
av_log(avctx, AV_LOG_ERROR, "Invalid display info size %d\n",
|
av_log(avctx, AV_LOG_ERROR, "Invalid display info size %d\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user