Fix wuffs_base__frame_config__blend

This commit is contained in:
Nigel Tao committed 2018-08-19 18:06:44 +10:00
1 parent babd6e667d
commit d47bf4e4e5
3 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -1753,7 +1753,7 @@ wuffs_base__frame_config__duration(wuffs_base__frame_config* c) {
// the transparent pixels of this frame with the existing canvas.
static inline wuffs_base__animation_blend //
wuffs_base__frame_config__blend(wuffs_base__frame_config* c) {
return c && c->private_impl.blend;
return c ? c->private_impl.blend : 0;
}
// wuffs_base__frame_config__disposal returns, for an animated image, how to