summaryrefslogtreecommitdiff
path: root/src/photos/JfifSupport.vala
diff options
context:
space:
mode:
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;
}