From 6ea9df5b9d4b8d9c9a7500c249cf1823ac64e333 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Sat, 20 Dec 2008 10:24:30 +0000 Subject: [PATCH] stuff --- include/vips/format.h | 3 ++- libsrc/format/format.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/vips/format.h b/include/vips/format.h index a376d0b3..4d72038e 100644 --- a/include/vips/format.h +++ b/include/vips/format.h @@ -110,7 +110,8 @@ void *vips_format_map( VSListMap2Fn fn, void *a, void *b ); VipsFormatClass *vips_format_for_file( const char *filename ); VipsFormatClass *vips_format_for_name( const char *filename ); -VipsFormatFlags vips_format_get_flags( VipsFormatClass *format ); +VipsFormatFlags vips_format_get_flags( VipsFormatClass *format, + const char *filename ); /* Read/write an image convenience functions. */ diff --git a/libsrc/format/format.c b/libsrc/format/format.c index af85b5bb..0aba31f0 100644 --- a/libsrc/format/format.c +++ b/libsrc/format/format.c @@ -126,7 +126,7 @@ vips_format_init( VipsFormat *object ) } VipsFormatFlags -vips_format_get_flags( VipsFormatClass *format ) +vips_format_get_flags( VipsFormatClass *format, const char *filename ) { return( format->get_flags ? format->get_flags( filename ) : 0 ); }