From 4547d883d39eb62a3b3c7e243df6826bbc8f5829 Mon Sep 17 00:00:00 2001 From: Gavin Kinsey Date: Mon, 5 Dec 2011 15:15:29 +0000 Subject: [PATCH] Fix compilation for C++ applications Signed-off-by: Michael Niedermayer --- libavutil/opt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/opt.h b/libavutil/opt.h index 2d282b3899..0196056d6d 100644 --- a/libavutil/opt.h +++ b/libavutil/opt.h @@ -595,7 +595,7 @@ int av_opt_get_q (void *obj, const char *name, int search_flags, AVRational * @returns a pointer to the field, it can be cast to the correct type and read * or written to. */ -void *av_opt_ptr(const AVClass *class, void *obj, const char *name); +void *av_opt_ptr(const AVClass *avclass, void *obj, const char *name); /** * @} */