OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1dd8ac
)
Do a little more checking.
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 28 May 2008 20:30:42 +0000
(20:30 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 28 May 2008 20:30:42 +0000
(20:30 +0000)
Originally committed as revision 13502 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/tiertexseq.c
patch
|
blob
|
history
diff --git
a/libavformat/tiertexseq.c
b/libavformat/tiertexseq.c
index
bcce674
..
60ac5ec
100644
(file)
--- a/
libavformat/tiertexseq.c
+++ b/
libavformat/tiertexseq.c
@@
-110,7
+110,7
@@
static int seq_fill_buffer(SeqDemuxContext *seq, ByteIOContext *pb, int buffer_n
return AVERROR_INVALIDDATA;
seq_buffer = &seq->frame_buffers[buffer_num];
- if (seq_buffer->fill_size + data_size > seq_buffer->data_size)
+ if (seq_buffer->fill_size + data_size > seq_buffer->data_size
|| data_size <= 0
)
return AVERROR_INVALIDDATA;
url_fseek(pb, seq->current_frame_offs + data_offs, SEEK_SET);