From 1cf28fd5f3f6fa406fc15aef59e3551807e75cee Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 22 Sep 2014 18:53:44 +0200 Subject: [PATCH] avformat/asfenc: Make asf_write_indexs index argument const Signed-off-by: Michael Niedermayer --- libavformat/asfenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/asfenc.c b/libavformat/asfenc.c index cccbf858c7..fbf6158cef 100644 --- a/libavformat/asfenc.c +++ b/libavformat/asfenc.c @@ -950,7 +950,7 @@ static int asf_write_packet(AVFormatContext *s, AVPacket *pkt) return 0; } -static int asf_write_index(AVFormatContext *s, ASFIndex *index, +static int asf_write_index(AVFormatContext *s, const ASFIndex *index, uint16_t max, uint32_t count) { AVIOContext *pb = s->pb;