]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtpdec_asf.c
Merge commit 'f07a4290a0e8f31796e348edd3ed06b8d15132d8'
[ffmpeg] / libavformat / rtpdec_asf.c
index 541b86fe41b7d3e7609488fe90424392ae73b394..8e196545de9861b480ce69c3d57bdbbf3648a147 100644 (file)
@@ -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);