mirror of https://git.ffmpeg.org/ffmpeg.git
aviobuf: Fix warning about discarded qualifier
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a2cd13f04f
commit
c49e0d2cdd
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue