mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-25 20:50:09 +00:00
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;
|
||||
}
|
||||
|
||||
static int get_stream_idx(int *d)
|
||||
static int get_stream_idx(unsigned *d)
|
||||
{
|
||||
if (d[0] >= '0' && d[0] <= '9' &&
|
||||
d[1] >= '0' && d[1] <= '9') {
|
||||
|
Loading…
Reference in New Issue
Block a user