aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-02-05 23:21:51 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-02-06 02:04:08 +0100
commit66792717008b8266e2f8b1c33d02f80e309ae400 (patch)
tree19ce5485833b295b48ec62a4079d24a0306966c8
parentef511d8a3568682f00bc4d492e0009bbbb4d0e11 (diff)
downloadffmpeg-66792717008b8266e2f8b1c33d02f80e309ae400.tar.gz
avio: Fix "warning: initialization from incompatible pointer type"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/avio.c2
1 files changed, 1 insertions, 1 deletions
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))