summaryrefslogtreecommitdiff
path: root/src/photos/JfifSupport.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-08-12 10:08:29 +0200
committerJörg Frings-Fürst <debian@jff.email>2023-08-12 10:08:29 +0200
commitf87eb3c1043d3f4f8e22ba505cd1a827241e160c (patch)
treee46351c8ec622c9d13232cf00c8a1048e55184af /src/photos/JfifSupport.vala
parent7f667adb7b8d3a803a6cd6120dcea4ba4ff89075 (diff)
parent2333d2b06d52754a55a747fa438844286f98d53a (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/photos/JfifSupport.vala')
-rw-r--r--src/photos/JfifSupport.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/photos/JfifSupport.vala b/src/photos/JfifSupport.vala
index 0de45f8..27a8b11 100644
--- a/src/photos/JfifSupport.vala
+++ b/src/photos/JfifSupport.vala
@@ -223,7 +223,7 @@ namespace Jpeg {
public bool is_sof() {
// FFCn is SOF unless n is a multiple of 4 > 0 (FFC4, FFC8, FFCC)
- if ((this & 0xC0) != 0xC0) {
+ if ((this >> 4) != 0xC) {
return false;
}