[FFmpeg-cvslog] avformat/avidec: fix signedness of pointer type in get_stream_idx()

Michael Niedermayer git at videolan.org
Sun Sep 8 19:15:40 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Sep  8 19:00:59 2013 +0200| [8586d8dda20123087660202f52cd943078c0ed5b] | committer: Michael Niedermayer

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

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8586d8dda20123087660202f52cd943078c0ed5b
---

 libavformat/avidec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index 0aaa5a6..fab1168 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') {



More information about the ffmpeg-cvslog mailing list