Mercurial > libavformat.hg
changeset 1659:82323178664b libavformat
fixing segfault with http://sam.zoy.org/zzuf/lol-ffplay.avi
author | michael |
---|---|
date | Mon, 15 Jan 2007 22:56:46 +0000 |
parents | 2400a22af998 |
children | e071dbfd4769 |
files | avidec.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/avidec.c Mon Jan 15 22:45:50 2007 +0000 +++ b/avidec.c Mon Jan 15 22:56:46 2007 +0000 @@ -397,7 +397,7 @@ break; case MKTAG('s', 't', 'r', 'f'): /* stream header */ - if (stream_index >= s->nb_streams || avi->dv_demux) { + if (stream_index >= (unsigned)s->nb_streams || avi->dv_demux) { url_fskip(pb, size); } else { st = s->streams[stream_index];