Message ID | aa96702e7b0a4e999f3a24930c6a3296@gmail.com |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel,1/3] libavformat/protocols.c: avio_enum_protocols(): Add const-correctness | expand |
Context | Check | Description |
---|---|---|
andriy/x86_make | success | Make finished |
andriy/x86_make_fate | success | Make fate finished |
andriy/PPC64_make | success | Make finished |
andriy/PPC64_make_fate | success | Make fate finished |
diff --git a/libavformat/protocols.c b/libavformat/protocols.c index 7f08f151b6..e0b3405ab8 100644 --- a/libavformat/protocols.c +++ b/libavformat/protocols.c @@ -93,10 +93,10 @@ const AVClass *ff_urlcontext_child_class_iterate(void **iter) const char *avio_enum_protocols(void **opaque, int output) { - const URLProtocol **p = *opaque; + const URLProtocol *const *p = *opaque; p = p ? p + 1 : url_protocols; - *opaque = p; + *opaque = (void *)p; if (!*p) { *opaque = NULL; return NULL;