diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-03-30 19:52:30 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-03-30 19:52:30 +0200 |
commit | a76a2ffe9d7773d59bb1bc228a6660e23672c490 (patch) | |
tree | 82beb5d0762f8af14f60b4257ae245622a449b88 /libavformat | |
parent | ec0965be36b55624a03d20c3b24e6a7aa61d6cd2 (diff) | |
download | ffmpeg-a76a2ffe9d7773d59bb1bc228a6660e23672c490.tar.gz |
libavformat: Fix several "incompatible pointer type" warnings.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/aviobuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c index d1520ed432..f6349d6009 100644 --- a/libavformat/aviobuf.c +++ b/libavformat/aviobuf.c @@ -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); |