[FFmpeg-cvslog] libavformat/avienc: Make unchanged function arguments const

Michael Niedermayer git at videolan.org
Wed Sep 24 18:42:12 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Sep 24 18:33:55 2014 +0200| [af19d2ed1efb16e83b45caaa5fd876e84613fc29] | committer: Michael Niedermayer

libavformat/avienc: Make unchanged function arguments const

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=af19d2ed1efb16e83b45caaa5fd876e84613fc29
---

 libavformat/avienc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/avienc.c b/libavformat/avienc.c
index c9d8b7f..e05e022 100644
--- a/libavformat/avienc.c
+++ b/libavformat/avienc.c
@@ -70,7 +70,7 @@ typedef struct  {
     AVIIndex indexes;
 } AVIStream;
 
-static inline AVIIentry *avi_get_ientry(AVIIndex *idx, int ent_id)
+static inline AVIIentry *avi_get_ientry(const AVIIndex *idx, int ent_id)
 {
     int cl = ent_id / AVI_INDEX_CLUSTER_SIZE;
     int id = ent_id % AVI_INDEX_CLUSTER_SIZE;



More information about the ffmpeg-cvslog mailing list