Просмотр исходного кода

tje_encode_to_file_at_quality missing return path

Sergio Gonzalez 10 лет назад
Родитель
Сommit
548d1e9bc1
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      tiny_jpeg.h

+ 1 - 0
tiny_jpeg.h

@@ -1169,6 +1169,7 @@ int tje_encode_to_file_at_quality(const char* dest_path,
 
     result |= 0 == fclose(fd);
 
+    return result;
 }
 
 int tje_encode_with_func(tje_write_func* func,