summaryrefslogtreecommitdiff
path: root/tests/format/image/png
diff options
context:
space:
mode:
Diffstat (limited to 'tests/format/image/png')
-rw-r--r--tests/format/image/png/png_open.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/format/image/png/png_open.c b/tests/format/image/png/png_open.c
index 3542ffa..4e16111 100644
--- a/tests/format/image/png/png_open.c
+++ b/tests/format/image/png/png_open.c
@@ -36,7 +36,9 @@ ff_result fftest_lenna256(ff_ctx* ctx) {
fclose(file);
ff_close_png(ctx, png_ctx);
+ #ifdef USE_BENCH
ff_bench_print(ctx, &(ctx)->bench);
+ #endif
return res;
}