libavformat/avidec: Make unchanged function arguments const
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 24 Sep 2014 16:33:55 +0000 (18:33 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 24 Sep 2014 16:33:55 +0000 (18:33 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/avidec.c

index f7b15b7..fa6821c 100644 (file)
@@ -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') {