mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
libavformat/avidec: Make unchanged function arguments const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
e27f781aeb
commit
d6ed67780b
@ -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') {
|
||||
|
Loading…
Reference in New Issue
Block a user