Browse Source

(#4) try to disable Graphics Control Block check

rexim 5 years ago
parent
commit
142df96fc9
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/vodus_emotes.cpp

+ 4 - 4
src/vodus_emotes.cpp

@@ -19,10 +19,10 @@ struct Gif_Animat
         while (delay_time <= 0.0f) {
         while (delay_time <= 0.0f) {
             index = (index + 1) % file->ImageCount;
             index = (index + 1) % file->ImageCount;
             int ok = DGifSavedExtensionToGCB(file, index, &gcb);
             int ok = DGifSavedExtensionToGCB(file, index, &gcb);
-            if (!ok) {
-                println(stderr, "[ERROR] Could not retrieve Graphics Control Block from `", file_path, "`");
-                abort();
-            }
+            // if (!ok) {
+            //     println(stderr, "[ERROR] Could not retrieve Graphics Control Block from `", file_path, "`");
+            //     abort();
+            // }
             delay_time = gcb.DelayTime + delay_time;
             delay_time = gcb.DelayTime + delay_time;
         }
         }
     }
     }