[FFmpeg-devel] [PATCH 14/15] options: Fix warning about incompatible pointer type

jamal jamrial at gmail.com
Fri Jul 27 10:23:24 CEST 2012


---
 libavformat/options.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/options.c b/libavformat/options.c
index 8548381..e87c754 100644
--- a/libavformat/options.c
+++ b/libavformat/options.c
@@ -90,7 +90,7 @@ static const AVClass av_format_context_class = {
     .child_next     = format_child_next,
     .child_class_next = format_child_class_next,
     .category       = AV_CLASS_CATEGORY_MUXER,
-    .get_category   = get_category,
+    .get_category   = (void*)get_category,
 };
 
 static void avformat_get_context_defaults(AVFormatContext *s)
-- 
1.7.8.6



More information about the ffmpeg-devel mailing list