浏览代码

LibGfx/WebPLossless: Add a spec comment

No behavior change. Makes things flow better with the comment I'm
about to add in the next commit.
Nico Weber 1 年之前
父节点
当前提交
e69a0fa7d3
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Userland/Libraries/LibGfx/ImageFormats/WebPLoaderLossless.cpp

+ 1 - 0
Userland/Libraries/LibGfx/ImageFormats/WebPLoaderLossless.cpp

@@ -969,6 +969,7 @@ ErrorOr<NonnullRefPtr<Bitmap>> decode_webp_chunk_VP8L_contents(VP8LHeader const&
             return Error::from_string_literal("WebPImageDecoderPlugin: transform type used multiple times");
         seen_transforms |= mask;
 
+        // "Transform data contains the information required to apply the inverse transform and depends on the transform type."
         switch (transform_type) {
         case PREDICTOR_TRANSFORM:
             TRY(transforms.try_append(TRY(PredictorTransform::read(bit_stream, stored_size))));