From 66792717008b8266e2f8b1c33d02f80e309ae400 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 5 Feb 2012 23:21:51 +0100 Subject: [PATCH] avio: Fix "warning: initialization from incompatible pointer type" Signed-off-by: Michael Niedermayer --- libavformat/avio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/avio.c b/libavformat/avio.c index 8305443ada..afaa7e6e19 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -86,7 +86,7 @@ const AVClass ffurl_context_class = { const char *avio_enum_protocols(void **opaque, int output) { - URLProtocol **p = opaque; + URLProtocol **p = (URLProtocol **)opaque; *p = ffurl_protocol_next(*p); if (!*p) return NULL; if ((output && (*p)->url_write) || (!output && (*p)->url_read))