avformat/asfenc: Make asf_write_indexs index argument const
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 22 Sep 2014 16:53:44 +0000 (18:53 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 22 Sep 2014 16:53:44 +0000 (18:53 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/asfenc.c

index cccbf85..fbf6158 100644 (file)
@@ -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;