aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-08-27 23:52:40 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-08-27 23:52:40 +0200
commit35debfc366cd3d131e19852b3c1ac21d077dca17 (patch)
tree353109981c45cbf0b70cc659b921439d5c53e048
parent7a2c380e93f8ee2469942ffe00e71906fa92375f (diff)
downloadffmpeg-35debfc366cd3d131e19852b3c1ac21d077dca17.tar.gz
avformat/rdt: fix compiler warning about const qualifier being discarded
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/rdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rdt.c b/libavformat/rdt.c
index 37fcd7603c..e8dc8f5892 100644
--- a/libavformat/rdt.c
+++ b/libavformat/rdt.c
@@ -301,7 +301,7 @@ rdt_parse_packet (AVFormatContext *ctx, PayloadContext *rdt, AVStream *st,
if (rdt->audio_pkt_cnt == 0) {
int pos;
- ffio_init_context(&pb, buf, len, 0, NULL, NULL, NULL, NULL);
+ ffio_init_context(&pb, (uint8_t *)buf, len, 0, NULL, NULL, NULL, NULL);
flags = (flags & RTP_FLAG_KEY) ? 2 : 0;
res = ff_rm_parse_packet (rdt->rmctx, &pb, st, rdt->rmst[st->index], len, pkt,
&seq, flags, *timestamp);