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:
780eb1c
)
total == 0 seems like it should be valid (based upon patch by Steve Lhomme | slhomme...
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 17 Dec 2005 11:27:37 +0000
(11:27 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 17 Dec 2005 11:27:37 +0000
(11:27 +0000)
Originally committed as revision 4745 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/matroska.c
patch
|
blob
|
history
diff --git
a/libavformat/matroska.c
b/libavformat/matroska.c
index 8d0df203eb7415593bf05d3c84076c408c5629e2..8279915f54918ee7fe96edffa0d1467916919688 100644
(file)
--- a/
libavformat/matroska.c
+++ b/
libavformat/matroska.c
@@
-796,9
+796,6
@@
matroska_ebmlnum_uint (uint8_t *data,
n++;
}
- if (!total)
- return AVERROR_INVALIDDATA;
-
if (read == num_ffs)
*num = (uint64_t)-1;
else