Commit 250b620d authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/bmp_parser: Fix remaining size

Fixes part of ticket 5598
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent bfe945ac
......@@ -63,7 +63,7 @@ restart:
continue;
}
bpc->pc.frame_start_found++;
bpc->remaining_size = bpc->fsize + FFMAX(i - 17, 0);
bpc->remaining_size = bpc->fsize + i - 17;
if (bpc->pc.index + i > 17) {
next = i - 17;
......
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