From 7bee79426ded43d1720791c243203200fa5d197d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 25 Jul 2018 01:12:49 +0300 Subject: [PATCH] typefindhelper: Mark extension in gst_type_find_helper_get_range() as allow-none It always allowed NULL and even said so in the documentation. --- libs/gst/base/gsttypefindhelper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gst/base/gsttypefindhelper.c b/libs/gst/base/gsttypefindhelper.c index 32f7d9a..a7363c3 100644 --- a/libs/gst/base/gsttypefindhelper.c +++ b/libs/gst/base/gsttypefindhelper.c @@ -306,7 +306,7 @@ prioritize_extension (GstObject * obj, GList * type_list, * @func: (scope call): A generic #GstTypeFindHelperGetRangeFunction that will * be used to access data at random offsets when doing the typefinding * @size: The length in bytes - * @extension: extension of the media + * @extension: (allow-none): extension of the media, or %NULL * @prob: (out) (allow-none): location to store the probability of the found * caps, or %NULL * -- 2.7.4