mirror of
https://github.com/webmproject/libwebp.git
synced 2025-09-22 02:32:02 +02:00
disable FRGM decoding for good in libwebpmux
Change-Id: I2f24d100f93488f6b0bf9ccc5818f9177d73948b
This commit is contained in:
committed by
James Zern
parent
4b956be095
commit
783dfa4995
@@ -306,6 +306,11 @@ WebPMuxError WebPMuxPushFrame(WebPMux* mux, const WebPMuxFrameInfo* frame,
|
||||
if (!(is_frame || (frame->id == WEBP_CHUNK_FRGM))) {
|
||||
return WEBP_MUX_INVALID_ARGUMENT;
|
||||
}
|
||||
#ifndef WEBP_EXPERIMENTAL_FEATURES
|
||||
if (frame->id == WEBP_CHUNK_FRGM) { // disabled for now.
|
||||
return WEBP_MUX_INVALID_ARGUMENT;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (bitstream->bytes == NULL || bitstream->size > MAX_CHUNK_PAYLOAD) {
|
||||
return WEBP_MUX_INVALID_ARGUMENT;
|
||||
|
Reference in New Issue
Block a user