mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibGfx/WebP: Add a VERIFY() for an assumption
This should have no behavior change after the previous commit.
This commit is contained in:
committed by
Andreas Kling
parent
857750dfed
commit
4e9480b719
@@ -484,6 +484,8 @@ static ErrorOr<void> decode_webp_animation_frame_chunks(WebPLoadingContext& cont
|
||||
if (context.state >= WebPLoadingContext::State::AnimationFrameChunksDecoded)
|
||||
return {};
|
||||
|
||||
VERIFY(context.state == WebPLoadingContext::State::ChunksDecoded);
|
||||
|
||||
context.animation_header_chunk_data = TRY(decode_webp_chunk_ANIM(context.animation_header_chunk.value()));
|
||||
|
||||
Vector<ANMFChunk> decoded_chunks;
|
||||
|
||||
Reference in New Issue
Block a user