mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-13 22:44:30 +02:00
Move consts to internal header format_constants.h
Change-Id: Ic6180c16d0b4245680738992925e4608c593fbe8
This commit is contained in:
@ -165,7 +165,7 @@ static WebPMuxError CreateDataFromImageInfo(const WebPImageInfo* image_info,
|
||||
}
|
||||
|
||||
static int IsLosslessData(const WebPData* const image) {
|
||||
return (image->size_ >= 1 && image->bytes_[0] == LOSSLESS_MAGIC_BYTE);
|
||||
return (image->size_ >= 1 && image->bytes_[0] == VP8L_MAGIC_BYTE);
|
||||
}
|
||||
|
||||
// Outputs image data given data from a webp file (including RIFF header).
|
||||
|
Reference in New Issue
Block a user