[FFmpeg-cvslog] avformat/asfenc: Make asf_write_indexs index argument const
Michael Niedermayer
git at videolan.org
Mon Sep 22 18:59:17 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Sep 22 18:53:44 2014 +0200| [1cf28fd5f3f6fa406fc15aef59e3551807e75cee] | committer: Michael Niedermayer
avformat/asfenc: Make asf_write_indexs index argument const
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1cf28fd5f3f6fa406fc15aef59e3551807e75cee
---
libavformat/asfenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/asfenc.c b/libavformat/asfenc.c
index cccbf85..fbf6158 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;
More information about the ffmpeg-cvslog
mailing list