Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-01-17 01:31:10 +0300
committerDiego Biurrun <diego@biurrun.de>2007-01-17 01:31:10 +0300
commitdb69c2e590be4ce47b4d85066b58f0a6bae8ef73 (patch)
tree3001698e67b2931b4afaaf34cd0bd58afa5e4dd5 /libavformat/avidec.c
parenta02142a50ac8fd2d5f137aee8ab060341919bc7b (diff)
Make nb_streams unsigned to avoid an ugly cast.
Originally committed as revision 7556 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r--libavformat/avidec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index 6d5a0c98e1..276689dd5c 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -397,7 +397,7 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
break;
case MKTAG('s', 't', 'r', 'f'):
/* stream header */
- if (stream_index >= (unsigned)s->nb_streams || avi->dv_demux) {
+ if (stream_index >= s->nb_streams || avi->dv_demux) {
url_fskip(pb, size);
} else {
st = s->streams[stream_index];