aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-09-24 18:33:55 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-09-24 18:33:55 +0200
commitd6ed67780bdbf181930ba477a44b6295449a3c5a (patch)
treef9bbd116643178a925783eda369757f0fa0d31a8 /libavformat
parente27f781aeb74e6c2b072634658a783ff8b04764b (diff)
downloadffmpeg-d6ed67780bdbf181930ba477a44b6295449a3c5a.tar.gz
libavformat/avidec: Make unchanged function arguments const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/avidec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index f7b15b77a5..fa6821ca1c 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') {