Commit a76a2ffe authored by Michael Niedermayer's avatar Michael Niedermayer

libavformat: Fix several "incompatible pointer type" warnings.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent ec0965be
......@@ -665,7 +665,7 @@ int ffio_fdopen(AVIOContext **s, URLContext *h)
return AVERROR(ENOMEM);
*s = avio_alloc_context(buffer, buffer_size, h->flags & AVIO_FLAG_WRITE, h,
ffurl_read, ffurl_write, ffurl_seek);
(void*)ffurl_read, (void*)ffurl_write, (void*)ffurl_seek);
if (!*s) {
av_free(buffer);
return AVERROR(ENOMEM);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment