Commit c49e0d2c authored by jamal's avatar jamal Committed by Michael Niedermayer

aviobuf: Fix warning about discarded qualifier

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a2cd13f0
......@@ -122,7 +122,7 @@ AVIOContext *avio_alloc_context(
static void writeout(AVIOContext *s, const uint8_t *data, int len)
{
if (s->write_packet && !s->error){
int ret= s->write_packet(s->opaque, data, len);
int ret= s->write_packet(s->opaque, (uint8_t *)data, len);
if(ret < 0){
s->error = ret;
}
......
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