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
This commit is contained in:
Michael Niedermayer 2005-12-17 11:27:37 +00:00
parent 780eb1c9b9
commit dcb2fb79b7
1 changed files with 0 additions and 3 deletions

View File

@ -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