[gdk-pixbuf] More sniff buffer size unification
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdk-pixbuf] More sniff buffer size unification
- Date: Tue, 17 Dec 2013 13:58:07 +0000 (UTC)
commit 6cf8b9e35001f72947455559d278228fd03f4f1f
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Dec 17 08:57:23 2013 -0500
More sniff buffer size unification
Turns out gdk_pixbuf_animation_new_from_file() was also
using a different size.
gdk-pixbuf/gdk-pixbuf-animation.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk-pixbuf/gdk-pixbuf-animation.c b/gdk-pixbuf/gdk-pixbuf-animation.c
index 911bf41..363972d 100644
--- a/gdk-pixbuf/gdk-pixbuf-animation.c
+++ b/gdk-pixbuf/gdk-pixbuf-animation.c
@@ -143,7 +143,7 @@ gdk_pixbuf_animation_new_from_file (const char *filename,
GdkPixbufAnimation *animation;
int size;
FILE *f;
- guchar buffer [1024];
+ guchar buffer [SNIFF_BUFFER_SIZE];
GdkPixbufModule *image_module;
gchar *display_name;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]