Dmitry Timoshkov : windowscodecs: Add a comment to PNG decoder that Windows ignores CRC of the chunks.

Alexandre Julliard julliard at winehq.org
Wed Mar 6 13:11:53 CST 2013


Module: wine
Branch: master
Commit: f18439da5102eafe4ba2b79bf7399e3c7d79d93b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f18439da5102eafe4ba2b79bf7399e3c7d79d93b

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Wed Mar  6 16:29:20 2013 +0900

windowscodecs: Add a comment to PNG decoder that Windows ignores CRC of the chunks.

---

 dlls/windowscodecs/pngformat.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/windowscodecs/pngformat.c b/dlls/windowscodecs/pngformat.c
index e4236e2..fb8bf51 100644
--- a/dlls/windowscodecs/pngformat.c
+++ b/dlls/windowscodecs/pngformat.c
@@ -76,7 +76,7 @@ static HRESULT read_png_chunk(IStream *stream, BYTE *type, BYTE **data, ULONG *d
             return hr;
         }
 
-        /* FIXME: Verify the CRC? */
+        /* Windows ignores CRC of the chunk */
     }
 
     return S_OK;




More information about the wine-cvs mailing list