You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/bmp_parser: Fix remaining size
Fixes part of ticket 5598 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -63,7 +63,7 @@ restart:
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
bpc->pc.frame_start_found++;
|
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) {
|
if (bpc->pc.index + i > 17) {
|
||||||
next = i - 17;
|
next = i - 17;
|
||||||
|
Reference in New Issue
Block a user