diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-08-27 23:53:53 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-27 23:53:53 +0200 |
commit | e6516944a3d504f208911033b31afedb3d427267 (patch) | |
tree | f1ac6c62d4fc065bf6c1203e36226dfbb1a8f0b7 /libavformat/rtpdec_asf.c | |
parent | 35debfc366cd3d131e19852b3c1ac21d077dca17 (diff) | |
download | ffmpeg-e6516944a3d504f208911033b31afedb3d427267.tar.gz |
avformat/rtpdec_asf: fix compiler warning about const qualifier being discarded
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/rtpdec_asf.c')
-rw-r--r-- | libavformat/rtpdec_asf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpdec_asf.c b/libavformat/rtpdec_asf.c index 541b86fe41..8e196545de 100644 --- a/libavformat/rtpdec_asf.c +++ b/libavformat/rtpdec_asf.c @@ -188,7 +188,7 @@ static int asfrtp_parse_packet(AVFormatContext *s, PayloadContext *asf, av_freep(&asf->buf); - ffio_init_context(pb, buf, len, 0, NULL, NULL, NULL, NULL); + ffio_init_context(pb, (uint8_t *)buf, len, 0, NULL, NULL, NULL, NULL); while (avio_tell(pb) + 4 < len) { int start_off = avio_tell(pb); |