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:
43d414b
)
off by one error
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 5 Mar 2007 01:19:36 +0000
(
01:19
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 5 Mar 2007 01:19:36 +0000
(
01:19
+0000)
Originally committed as revision 8236 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/asf.c
patch
|
blob
|
history
diff --git
a/libavformat/asf.c
b/libavformat/asf.c
index
fc9ba1f
..
151a52a
100644
(file)
--- a/
libavformat/asf.c
+++ b/
libavformat/asf.c
@@
-249,7
+249,7
@@
static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap)
st->need_parsing = 1;
/* We have to init the frame size at some point .... */
pos2 = url_ftell(pb);
- if (gsize > (pos2 + 8 - pos1 + 24)) {
+ if (gsize >
=
(pos2 + 8 - pos1 + 24)) {
asf_st->ds_span = get_byte(pb);
asf_st->ds_packet_size = get_le16(pb);
asf_st->ds_chunk_size = get_le16(pb);