소스 검색

LibGfx: Make a webp error message more detailed

Now that lossless decoding mostly works, make it clear that only
lossy decoding isn't implemented yet.
Nico Weber 2 년 전
부모
커밋
50c9b51eca
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Userland/Libraries/LibGfx/ImageFormats/WebPLoader.cpp

+ 1 - 1
Userland/Libraries/LibGfx/ImageFormats/WebPLoader.cpp

@@ -1459,7 +1459,7 @@ ErrorOr<ImageFrameDescriptor> WebPImageDecoderPlugin::frame(size_t index)
         return ImageFrameDescriptor { m_context->bitmap, 0 };
     }
 
-    return Error::from_string_literal("WebPImageDecoderPlugin: decoding not yet implemented");
+    return Error::from_string_literal("WebPImageDecoderPlugin: decoding lossy webps not yet implemented");
 }
 
 ErrorOr<Optional<ReadonlyBytes>> WebPImageDecoderPlugin::icc_data()