Browse Source

libavformat/avienc: Make unchanged function arguments const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.5
Michael Niedermayer 10 years ago
parent
commit
af19d2ed1e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/avienc.c

+ 1
- 1
libavformat/avienc.c 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;


Loading…
Cancel
Save