Joachim Priesner : windowscodecs/tiffformat: Fix TiffFrameDecode_GetResolution, add test.

Alexandre Julliard julliard at winehq.org
Fri Feb 16 13:41:31 CST 2018


Module: wine
Branch: master
Commit: 1c65b993dfd85fd4362445050a163eb93d50dcaf
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=1c65b993dfd85fd4362445050a163eb93d50dcaf

Author: Joachim Priesner <joachim.priesner at web.de>
Date:   Mon Feb  5 20:34:59 2018 +0100

windowscodecs/tiffformat: Fix TiffFrameDecode_GetResolution, add test.

The behavior for the invalid resolution case is different for Windows XP
and Server 2003. Implement the behavior of current Windows versions, but
allow the old behavior in the test.

Signed-off-by: Joachim Priesner <joachim.priesner at web.de>
Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/windowscodecs/tests/tiffformat.c | 137 +++++++++++++++++++++++++++++++++-
 dlls/windowscodecs/tiffformat.c       |  70 +++++++++--------
 2 files changed, 172 insertions(+), 35 deletions(-)

Diff:   https://source.winehq.org/git/wine.git/?a=commitdiff;h=1c65b993dfd85fd4362445050a163eb93d50dcaf



More information about the wine-cvs mailing list