[FFmpeg-cvslog] libavformat/avidec: Make unchanged function arguments const

Michael Niedermayer git at videolan.org
Wed Sep 24 18:42:12 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Sep 24 18:33:55 2014 +0200| [d6ed67780bdbf181930ba477a44b6295449a3c5a] | committer: Michael Niedermayer

libavformat/avidec: Make unchanged function arguments const

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

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

diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index f7b15b7..fa6821c 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -1090,7 +1090,7 @@ static AVStream *get_subtitle_pkt(AVFormatContext *s, AVStream *next_st,
     return sub_st;
 }
 
-static int get_stream_idx(unsigned *d)
+static int get_stream_idx(const unsigned *d)
 {
     if (d[0] >= '0' && d[0] <= '9' &&
         d[1] >= '0' && d[1] <= '9') {



More information about the ffmpeg-cvslog mailing list