mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 08:56:02 +00:00
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++;
|
||||
}
|
||||
|
||||
if (!total)
|
||||
return AVERROR_INVALIDDATA;
|
||||
|
||||
if (read == num_ffs)
|
||||
*num = (uint64_t)-1;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user