aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-12-17 11:27:37 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-12-17 11:27:37 +0000
commitdcb2fb79b731d64eb3c268b9413b75f506861138 (patch)
tree647df24515c827402593b722edda1f6e2e918fb6 /libavformat
parent780eb1c9b9bb4b583c273792378fd15b2c942010 (diff)
downloadffmpeg-dcb2fb79b731d64eb3c268b9413b75f506861138.tar.gz
total == 0 seems like it should be valid (based upon patch by Steve Lhomme | slhomme divxcorp com)
Originally committed as revision 4745 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/matroska.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/matroska.c b/libavformat/matroska.c
index 8d0df203eb..8279915f54 100644
--- 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