diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-10-03 15:07:35 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-10-03 15:07:35 +0000 |
commit | 73a27a3cee2b2e3a4735b3639e305e95ece681c4 (patch) | |
tree | fa5a8acc0160c2a2ee5b1b4e095ebfbd226fd069 /gdk-pixbuf/gdk-pixbuf-io.c | |
parent | ef2c2326f04d5a0a86956ce18d9c15cd3ebf61c1 (diff) | |
download | gdk-pixbuf-73a27a3cee2b2e3a4735b3639e305e95ece681c4.tar.gz |
Use a 1k buffer for sniffing image formats, instead of 128 or 256 bytes.
2005-10-03 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file):
* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file):
* gdk-pixbuf-loader.c: Use a 1k buffer for sniffing image formats,
instead of 128 or 256 bytes. (#317225, Sebastien Bacher,
Dom Lachowicz)
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-io.c')
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-io.c b/gdk-pixbuf/gdk-pixbuf-io.c index 56dfefe62..ea7894bfe 100644 --- a/gdk-pixbuf/gdk-pixbuf-io.c +++ b/gdk-pixbuf/gdk-pixbuf-io.c @@ -840,7 +840,7 @@ gdk_pixbuf_new_from_file (const char *filename, GdkPixbuf *pixbuf; int size; FILE *f; - guchar buffer[256]; + guchar buffer[1024]; GdkPixbufModule *image_module; gchar *display_name; |