]> git.sesse.net Git - ffmpeg/commitdiff
libavformat/avienc: Make unchanged function arguments const
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 24 Sep 2014 16:33:55 +0000 (18:33 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 24 Sep 2014 16:34:21 +0000 (18:34 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/avienc.c

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