Commit dcb2fb79 authored by Michael Niedermayer's avatar Michael Niedermayer

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
parent 780eb1c9
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment