projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e22f2aa
)
fixing segfault with http://sam.zoy.org/zzuf/lol-ffplay.avi
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 15 Jan 2007 22:56:46 +0000
(22:56 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 15 Jan 2007 22:56:46 +0000
(22:56 +0000)
Originally committed as revision 7537 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/avidec.c
patch
|
blob
|
history
diff --git
a/libavformat/avidec.c
b/libavformat/avidec.c
index 276689dd5c1e0e203123191cd573c59ba3e27bf4..6d5a0c98e14063e493679407a7af45aaacfd0b5d 100644
(file)
--- 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 >= 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];