mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
780eb1c9b9
commit
dcb2fb79b7
|
@ -796,9 +796,6 @@ matroska_ebmlnum_uint (uint8_t *data,
|
||||||
n++;
|
n++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!total)
|
|
||||||
return AVERROR_INVALIDDATA;
|
|
||||||
|
|
||||||
if (read == num_ffs)
|
if (read == num_ffs)
|
||||||
*num = (uint64_t)-1;
|
*num = (uint64_t)-1;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue