From 8833f1508b7b6afc3172a8017934a7a54428c686 Mon Sep 17 00:00:00 2001 From: Lukasz Marek Date: Thu, 27 Nov 2014 00:11:01 +0100 Subject: opt: Add const to av_opt_next MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also add const to pointers in static functions within opt.c where possible/necessary. Signed-off-by: Martin Storsjö --- libavutil/opt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavutil/opt.h') diff --git a/libavutil/opt.h b/libavutil/opt.h index 8413206179..99d727cad3 100644 --- a/libavutil/opt.h +++ b/libavutil/opt.h @@ -448,7 +448,7 @@ const AVOption *av_opt_find2(void *obj, const char *name, const char *unit, * or NULL * @return next AVOption or NULL */ -const AVOption *av_opt_next(void *obj, const AVOption *prev); +const AVOption *av_opt_next(const void *obj, const AVOption *prev); /** * Iterate over AVOptions-enabled children of obj. -- cgit v1.2.3