diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-09-08 16:55:57 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-09-08 16:56:19 +0200 |
commit | 951f6fa3f31be65efa011e8940e1d0d5e6e31620 (patch) | |
tree | eba3bbbea1680c565080a57944039bbc071e8f7b /libavformat/rtpdec_qt.c | |
parent | 24db666d1549d312c3fb0ce0acbd745fae5c9e6e (diff) | |
download | ffmpeg-951f6fa3f31be65efa011e8940e1d0d5e6e31620.tar.gz |
avformat/rtpdec_qt: Fix 'warning: passing argument 2 of ffio_init_context discards const qualifier from pointer target type'
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/rtpdec_qt.c')
-rw-r--r-- | libavformat/rtpdec_qt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpdec_qt.c b/libavformat/rtpdec_qt.c index ee8a48aeb5..58253b6651 100644 --- a/libavformat/rtpdec_qt.c +++ b/libavformat/rtpdec_qt.c @@ -71,7 +71,7 @@ static int qt_rtp_parse_packet(AVFormatContext *s, PayloadContext *qt, * http://developer.apple.com/quicktime/icefloe/dispatch026.html */ init_get_bits(&gb, buf, len << 3); - ffio_init_context(&pb, buf, len, 0, NULL, NULL, NULL, NULL); + ffio_init_context(&pb, (uint8_t*)buf, len, 0, NULL, NULL, NULL, NULL); if (len < 4) return AVERROR_INVALIDDATA; |