From af19d2ed1efb16e83b45caaa5fd876e84613fc29 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 24 Sep 2014 18:33:55 +0200 Subject: [PATCH] libavformat/avienc: Make unchanged function arguments const Signed-off-by: Michael Niedermayer --- libavformat/avienc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;