summaryrefslogtreecommitdiff
path: root/gst/gsttypefind.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2011-03-21 18:13:55 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2011-03-28 20:08:45 +0200
commitd82c8bd2aff0f10425da24c1b20043f3fd081dab (patch)
tree971d9113bdf942c8fd01798450af33a4c9363cbf /gst/gsttypefind.c
parent1eed0785afcde564992cb16374d37160483a0a8a (diff)
memory: port code to new buffer data API
Diffstat (limited to 'gst/gsttypefind.c')
-rw-r--r--gst/gsttypefind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gsttypefind.c b/gst/gsttypefind.c
index e4254e19a..62867a5a1 100644
--- a/gst/gsttypefind.c
+++ b/gst/gsttypefind.c
@@ -127,7 +127,7 @@ gst_type_find_register (GstPlugin * plugin, const gchar * name, guint rank,
* Returns: (transfer none) (array length=size): the requested data, or NULL
* if that data is not available.
*/
-guint8 *
+const guint8 *
gst_type_find_peek (GstTypeFind * find, gint64 offset, guint size)
{
g_return_val_if_fail (find->peek != NULL, NULL);