diff options
author | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2014-11-27 00:11:01 +0100 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2016-03-24 10:34:09 +0200 |
commit | 8833f1508b7b6afc3172a8017934a7a54428c686 (patch) | |
tree | bb2d0be48aedc52adacacbd3a9b8fb4065342381 /libavutil/opt.h | |
parent | 933dec0e29ec4d2cb83474279a6c52d62fdb7310 (diff) |
opt: Add const to av_opt_next
Also add const to pointers in static functions within opt.c where
possible/necessary.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavutil/opt.h')
-rw-r--r-- | libavutil/opt.h | 2 |
1 files changed, 1 insertions, 1 deletions
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. |