Merge branch 'master' of github.com:libvips/libvips
This commit is contained in:
commit
c5ea747f71
@ -422,7 +422,7 @@ static int
|
|||||||
vips_foreign_load_matrix_source_is_a_source( VipsSource *source )
|
vips_foreign_load_matrix_source_is_a_source( VipsSource *source )
|
||||||
{
|
{
|
||||||
unsigned char *data;
|
unsigned char *data;
|
||||||
size_t bytes_read;
|
gint64 bytes_read;
|
||||||
char line[80];
|
char line[80];
|
||||||
int width;
|
int width;
|
||||||
int height;
|
int height;
|
||||||
|
@ -633,7 +633,7 @@ gboolean
|
|||||||
vips_foreign_load_svg_source_is_a_source( VipsSource *source )
|
vips_foreign_load_svg_source_is_a_source( VipsSource *source )
|
||||||
{
|
{
|
||||||
unsigned char *data;
|
unsigned char *data;
|
||||||
size_t bytes_read;
|
gint64 bytes_read;
|
||||||
|
|
||||||
if( (bytes_read = vips_source_sniff_at_most( source,
|
if( (bytes_read = vips_source_sniff_at_most( source,
|
||||||
&data, SVG_HEADER_SIZE )) <= 0 )
|
&data, SVG_HEADER_SIZE )) <= 0 )
|
||||||
|
Loading…
Reference in New Issue
Block a user