mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 857623 - Ensure we always call PostFrameStop before PostDecodeDone in nsGIFDecoder2.cpp. r=tn
This commit is contained in:
parent
785f24e28f
commit
f9d0108ed6
@ -1035,8 +1035,8 @@ nsGIFDecoder2::WriteInternal(const char *aBuffer, uint32_t aCount)
|
||||
break;
|
||||
|
||||
case gif_done:
|
||||
PostDecodeDone(mGIFStruct.loop_count - 1);
|
||||
mGIFOpen = false;
|
||||
MOZ_ASSERT(!IsSizeDecode(), "Size decodes shouldn't reach gif_done");
|
||||
FinishInternal();
|
||||
goto done;
|
||||
|
||||
case gif_error:
|
||||
|
Loading…
Reference in New Issue
Block a user