Commit af19d2ed authored by Michael Niedermayer's avatar Michael Niedermayer

libavformat/avienc: Make unchanged function arguments const

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent d6ed6778
...@@ -70,7 +70,7 @@ typedef struct { ...@@ -70,7 +70,7 @@ typedef struct {
AVIIndex indexes; AVIIndex indexes;
} AVIStream; } 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 cl = ent_id / AVI_INDEX_CLUSTER_SIZE;
int id = ent_id % AVI_INDEX_CLUSTER_SIZE; int id = ent_id % AVI_INDEX_CLUSTER_SIZE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment