Browse Source

Fix vips_webpload_buffer access mode

DarthSim 7 năm trước cách đây
mục cha
commit
17af9782f0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      vips.h

+ 1 - 1
vips.h

@@ -83,7 +83,7 @@ vips_gifload_buffer_go(void *buf, size_t len, VipsImage **out)
 int
 vips_webpload_buffer_go(void *buf, size_t len, VipsImage **out)
 {
-  return vips_webpload_buffer(buf, len, out, "access", VIPS_ACCESS_SEQUENTIAL, NULL);
+  return vips_webpload_buffer(buf, len, out, "access", VIPS_ACCESS_RANDOM, NULL);
 }
 
 int