]> git.sesse.net Git - ffmpeg/commitdiff
libavformat: Fix several "incompatible pointer type" warnings.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 30 Mar 2012 17:52:30 +0000 (19:52 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 30 Mar 2012 17:52:30 +0000 (19:52 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/aviobuf.c

index d1520ed43251f43e47eb79579c0b9a2454a07a5b..f6349d6009f5478f67791edcab7b24d43e040b6a 100644 (file)
@@ -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);