diff options
author | jamal <jamrial@gmail.com> | 2012-07-27 05:23:23 -0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-07-27 12:46:51 +0200 |
commit | c49e0d2cdd8b91161f4b8c22b130ab4bd6e71b71 (patch) | |
tree | d8f68c54acbc587cca69f0797fe424a8ab9eeefb /libavformat/aviobuf.c | |
parent | a2cd13f04f0d06a6c0e4981043d1b22c6af3469b (diff) | |
download | ffmpeg-c49e0d2cdd8b91161f4b8c22b130ab4bd6e71b71.tar.gz |
aviobuf: Fix warning about discarded qualifier
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/aviobuf.c')
-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 05df00149b..f6a914ace4 100644 --- a/libavformat/aviobuf.c +++ b/libavformat/aviobuf.c @@ -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; } |