Displaying 2 results from an estimated 2 matches for "7c86316".
Did you mean:
786316
2007 Oct 29
0
libswfdec/swfdec_buffer.c
...te <otte at gnome.org>
Date: Mon Oct 29 14:05:37 2007 +0100
make swfdec_buffer_new_from_file() fallback if mmap() fails
This should fix issues with Swfdec on systems with broken or without mmap.
diff --git a/libswfdec/swfdec_buffer.c b/libswfdec/swfdec_buffer.c
index 2c43f9d..7c86316 100644
--- a/libswfdec/swfdec_buffer.c
+++ b/libswfdec/swfdec_buffer.c
@@ -240,9 +240,9 @@ swfdec_buffer_free_mapped (unsigned char *data, gpointer priv)
* @filename: file to read
* @error: return location for a #GError or %NULL
*
- * Tries to create a buffer for the given @filename using a #...
2007 Nov 07
0
36 commits - doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_amf.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_strings.c libswfdec/swfdec_buffer.c libswfdec/swfdec_buffer.h
...+151,7 @@ swfdec_buffer_queue_push
swfdec_buffer_queue_pull
swfdec_buffer_queue_pull_buffer
swfdec_buffer_queue_peek
+swfdec_buffer_queue_peek_buffer
<SUBSECTION Standard>
SWFDEC_TYPE_BUFFER
swfdec_buffer_get_type
diff --git a/libswfdec/swfdec_buffer.c b/libswfdec/swfdec_buffer.c
index 7c86316..3f15975 100644
--- a/libswfdec/swfdec_buffer.c
+++ b/libswfdec/swfdec_buffer.c
@@ -525,6 +525,31 @@ swfdec_buffer_queue_pull (SwfdecBufferQueue * queue, guint length)
}
/**
+ * swfdec_buffer_queue_peek_buffer:
+ * @queue: a #SwfdecBufferQueue
+ *
+ * Gets the first buffer out of @queue and ret...