mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:48:11 +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:
parent
e6c1429311
commit
eaa6304aab
6 changed files with 11 additions and 15 deletions
|
@ -14,7 +14,7 @@
|
|||
namespace ImageDecoderClient {
|
||||
|
||||
struct Frame {
|
||||
RefPtr<Gfx::Bitmap> bitmap;
|
||||
NonnullRefPtr<Gfx::Bitmap> bitmap;
|
||||
u32 duration { 0 };
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue