[shotwell] Do not mark image as corrupted just because it's not a JPEG



commit b7973aa0feb1b672d23c8963c33637046f801431
Author: Jens Georg <mail jensge org>
Date:   Wed Oct 23 20:54:37 2019 +0200

    Do not mark image as corrupted just because it's not a JPEG

 src/photos/JfifSupport.vala | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/photos/JfifSupport.vala b/src/photos/JfifSupport.vala
index 967475ef..a0c075cb 100644
--- a/src/photos/JfifSupport.vala
+++ b/src/photos/JfifSupport.vala
@@ -130,7 +130,6 @@ public class JfifSniffer : GdkSniffer {
         var length = Jpeg.read_marker_2(dins, out marker);
 
         if (marker != Jpeg.Marker.SOI) {
-            is_corrupted = true;
             return null;
         }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]