]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtpdec_qt.c
libavformat/dv: Make unchanged function arguments const
[ffmpeg] / libavformat / rtpdec_qt.c
index ee8a48aeb59a9dca80ecd5a2bda2e328d6175c72..58253b66519bd687df8b4b0d25fc865e9862662d 100644 (file)
@@ -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;