libavformat/avienc: Make unchanged function arguments const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
d6ed67780b
commit
af19d2ed1e
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user