aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-09-24 18:33:55 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-09-24 18:34:21 +0200
commitaf19d2ed1efb16e83b45caaa5fd876e84613fc29 (patch)
treee834d060ce5f89f6c60ec2d8d17e7e247d1fba07 /libavformat
parentd6ed67780bdbf181930ba477a44b6295449a3c5a (diff)
downloadffmpeg-af19d2ed1efb16e83b45caaa5fd876e84613fc29.tar.gz
libavformat/avienc: Make unchanged function arguments const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/avienc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avienc.c b/libavformat/avienc.c
index c9d8b7fbe4..e05e02281d 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;