1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00

libavformat/avienc: Make unchanged function arguments const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-09-24 18:33:55 +02:00
parent d6ed67780b
commit af19d2ed1e

View 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;