Commit d6ed6778 authored by Michael Niedermayer's avatar Michael Niedermayer

libavformat/avidec: Make unchanged function arguments const

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e27f781a
......@@ -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') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment