mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-28 12:32:17 +02:00
avcodec/bmp_parser: reset state
Fixes part of ticket 5598 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 37005e65eb17b1480d9e1755eeba3f50ee3b9555) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
fca62cc6a7
commit
76a239768f
@ -69,8 +69,10 @@ restart:
|
|||||||
next = i - 17;
|
next = i - 17;
|
||||||
state = 0;
|
state = 0;
|
||||||
break;
|
break;
|
||||||
} else
|
} else {
|
||||||
|
bpc->pc.state64 = 0;
|
||||||
goto restart;
|
goto restart;
|
||||||
|
}
|
||||||
} else if (bpc->pc.frame_start_found)
|
} else if (bpc->pc.frame_start_found)
|
||||||
bpc->pc.frame_start_found++;
|
bpc->pc.frame_start_found++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user