mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-12 05:54:31 +02:00
Compare commits
No commits in common. "1b4c967fbb6184755616a31c791440e7c719b6c0" and "da0d9c7d4e15fdc2d8addc3c0a3f3f014fc24434" have entirely different histories.
1b4c967fbb
...
da0d9c7d4e
@ -223,8 +223,6 @@ WebPMux* WebPMuxCreateInternal(const WebPData* bitstream, int copy_data,
|
||||
// Note this padding is historical and differs from demux.c which does not
|
||||
// pad the file size.
|
||||
riff_size = SizeWithPadding(riff_size);
|
||||
// Make sure the whole RIFF header is available.
|
||||
if (riff_size < RIFF_HEADER_SIZE) goto Err;
|
||||
if (riff_size > size) goto Err;
|
||||
// There's no point in reading past the end of the RIFF chunk. Note riff_size
|
||||
// includes CHUNK_HEADER_SIZE after SizeWithPadding().
|
||||
|
Loading…
x
Reference in New Issue
Block a user