Commit 8586d8dd authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/avidec: fix signedness of pointer type in get_stream_idx()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 3a54c221
...@@ -987,7 +987,7 @@ static AVStream *get_subtitle_pkt(AVFormatContext *s, AVStream *next_st, ...@@ -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') {
......
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