Ensure WebP can add metadata when compiled with libwebpmux
This commit is contained in:
parent
364a5daafc
commit
8e658d3a06
@ -441,7 +441,7 @@ vips_webp_add_metadata( VipsWebPWriter *writer, VipsImage *image )
|
|||||||
if( is_vp8x ) {
|
if( is_vp8x ) {
|
||||||
/* Copy the existing VP8X body and update the flag bits.
|
/* Copy the existing VP8X body and update the flag bits.
|
||||||
*/
|
*/
|
||||||
if( vips_webp_writer_append( &new, writer->mem + 20, 10 ) ) {
|
if( !vips_webp_writer_append( &new, writer->mem + 20, 10 ) ) {
|
||||||
vips_webp_writer_unset( &new );
|
vips_webp_writer_unset( &new );
|
||||||
return( -1 );
|
return( -1 );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user