aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-09-08 19:00:59 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-09-08 19:02:19 +0200
commit8586d8dda20123087660202f52cd943078c0ed5b (patch)
tree00a5b97e752eae6b64313d5cae49c215c2e64b9a
parent3a54c221d574ec944db1eddf9df895808f32bf9e (diff)
downloadffmpeg-8586d8dda20123087660202f52cd943078c0ed5b.tar.gz
avformat/avidec: fix signedness of pointer type in get_stream_idx()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/avidec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index 0aaa5a6f93..fab1168c22 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -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') {