summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-10-31 22:44:28 +0100
committerCarl Hetherington <cth@carlh.net>2020-11-02 00:12:56 +0100
commit9e613ae8a3cd7994194d2d709f6ff9b88feac70b (patch)
tree40611aafec40f836ca23ef9b99093d526f9d43c1 /benchmark
parentda15bff6e278d351301c9c50a4c96737ae4b5545 (diff)
Add Data class and change API to a raw pointer.
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/j2k_transcode.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/j2k_transcode.cc b/benchmark/j2k_transcode.cc
index 7bdf357d..cd1bd52a 100644
--- a/benchmark/j2k_transcode.cc
+++ b/benchmark/j2k_transcode.cc
@@ -110,6 +110,6 @@ main (int argc, char* argv[])
cout << "Compress: " << count / compress.get() << " fps.\n";
FILE* f = fopen ("check.j2c", "wb");
- fwrite (recomp.data().get(), 1, recomp.size(), f);
+ fwrite (recomp.data(), 1, recomp.size(), f);
fclose (f);
}