ffmpeg | branch: master | Michael Niedermayer <[email protected]> | Wed Sep 24 
18:33:55 2014 +0200| [af19d2ed1efb16e83b45caaa5fd876e84613fc29] | committer: 
Michael Niedermayer

libavformat/avienc: Make unchanged function arguments const

Signed-off-by: Michael Niedermayer <[email protected]>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=af19d2ed1efb16e83b45caaa5fd876e84613fc29
---

 libavformat/avienc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/avienc.c b/libavformat/avienc.c
index c9d8b7f..e05e022 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;

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to