avformat/avidec: fix signedness of pointer type in get_stream_idx()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3a54c221d5
commit
8586d8dda2
@ -987,7 +987,7 @@ static AVStream *get_subtitle_pkt(AVFormatContext *s, AVStream *next_st,
|
|||||||
return sub_st;
|
return sub_st;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int get_stream_idx(int *d)
|
static int get_stream_idx(unsigned *d)
|
||||||
{
|
{
|
||||||
if (d[0] >= '0' && d[0] <= '9' &&
|
if (d[0] >= '0' && d[0] <= '9' &&
|
||||||
d[1] >= '0' && d[1] <= '9') {
|
d[1] >= '0' && d[1] <= '9') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user