diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-12-17 11:27:37 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-12-17 11:27:37 +0000 |
commit | dcb2fb79b731d64eb3c268b9413b75f506861138 (patch) | |
tree | 647df24515c827402593b722edda1f6e2e918fb6 | |
parent | 780eb1c9b9bb4b583c273792378fd15b2c942010 (diff) | |
download | ffmpeg-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
-rw-r--r-- | libavformat/matroska.c | 3 |
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 |