Commit 9b5abaf9 authored by michael's avatar michael

total == 0 seems like it should be valid (based upon patch by Steve Lhomme | slhomme divxcorp com)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4745 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9eff3446
......@@ -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