mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 13:48:21 +01:00
[cd]webp: always output windows errors
don't hide failures with -v. Change-Id: I1578dbb7be67f041f0984bf6696c0c895c1600d9
This commit is contained in:
parent
d662158010
commit
4a8fb27223
@ -97,11 +97,9 @@ static int ReadYUV(FILE* in_file, WebPPicture* const pic) {
|
|||||||
|
|
||||||
#define IFS(fn) \
|
#define IFS(fn) \
|
||||||
do { \
|
do { \
|
||||||
if (SUCCEEDED(hr)) \
|
if (SUCCEEDED(hr)) { \
|
||||||
{ \
|
|
||||||
hr = (fn); \
|
hr = (fn); \
|
||||||
if (FAILED(hr) && verbose) \
|
if (FAILED(hr)) fprintf(stderr, #fn " failed %08x\n", hr); \
|
||||||
fprintf(stderr, #fn " failed %08x\n", hr); \
|
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
@ -69,11 +69,9 @@ typedef enum {
|
|||||||
|
|
||||||
#define IFS(fn) \
|
#define IFS(fn) \
|
||||||
do { \
|
do { \
|
||||||
if (SUCCEEDED(hr)) \
|
if (SUCCEEDED(hr)) { \
|
||||||
{ \
|
|
||||||
hr = (fn); \
|
hr = (fn); \
|
||||||
if (FAILED(hr) && verbose) \
|
if (FAILED(hr)) fprintf(stderr, #fn " failed %08x\n", hr); \
|
||||||
fprintf(stderr, #fn " failed %08x\n", hr); \
|
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user