diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2024-07-02 12:16:35 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2024-07-02 12:16:35 +0200 |
commit | f6062696f6bbd00d4eaa8a6e994dabfefc455f31 (patch) | |
tree | 4ba5e313f32c3f6973acbefe29203fd9602986dd /src/photos/WebPSupport.vala | |
parent | 5303f650e34763817d7eeb1d3ba774bdec3e1a38 (diff) |
New upstream version 0.32.7upstream/0.32.7
Diffstat (limited to 'src/photos/WebPSupport.vala')
-rw-r--r-- | src/photos/WebPSupport.vala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/photos/WebPSupport.vala b/src/photos/WebPSupport.vala index 2f4723c..b467b24 100644 --- a/src/photos/WebPSupport.vala +++ b/src/photos/WebPSupport.vala @@ -183,7 +183,13 @@ private class WebpSniffer : PhotoFileSniffer { if (calc_md5) detected.md5 = md5_checksum.get_string(); + // We have never reached the header parsing state, but also didn't encounter any error + if (detected.file_format != PhotoFileFormat.WEBP) { + return null; + } + return detected; + } } |