Commit f7c89705 authored by Michael Niedermayer's avatar Michael Niedermayer

avio: fix "discards const qualifier from pointer target type" warning

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 8a45e0c3
......@@ -302,7 +302,7 @@ int ffurl_write(URLContext *h, const unsigned char *buf, int size)
if (h->max_packet_size && size > h->max_packet_size)
return AVERROR(EIO);
return retry_transfer_wrapper(h, buf, size, size, (void*)h->prot->url_write);
return retry_transfer_wrapper(h, (unsigned char *)buf, size, size, (void*)h->prot->url_write);
}
int64_t ffurl_seek(URLContext *h, int64_t pos, int whence)
......
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