Browse Source

tje_encode_to_file_at_quality missing return path

Sergio Gonzalez 10 years ago
parent
commit
548d1e9bc1
1 changed files with 1 additions and 0 deletions
  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,