Commit 37005e65 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/bmp_parser: reset state

Fixes part of ticket 5598
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 250b620d
......@@ -69,8 +69,10 @@ restart:
next = i - 17;
state = 0;
break;
} else
} else {
bpc->pc.state64 = 0;
goto restart;
}
} else if (bpc->pc.frame_start_found)
bpc->pc.frame_start_found++;
}
......
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