mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-02 22:55:23 +00:00
Userland: Return empty if ImageDecoder client receives an invalid frame
This simplifies error checking for all the users of the ImageDecoder client.
This commit is contained in:
committed by
Andreas Kling
parent
e6c1429311
commit
eaa6304aab
@@ -14,7 +14,7 @@
|
||||
namespace ImageDecoderClient {
|
||||
|
||||
struct Frame {
|
||||
RefPtr<Gfx::Bitmap> bitmap;
|
||||
NonnullRefPtr<Gfx::Bitmap> bitmap;
|
||||
u32 duration { 0 };
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user