aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/jpeg-6b/jchuff.c
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-01-29 22:00:49 +0100
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-01-29 22:00:49 +0100
commit15aafbb6ff578e10bfc9348c0d04aeaf83279705 (patch)
tree49cd839c4a28923feb16b8ffd278aab0d283e297 /test/monniaux/jpeg-6b/jchuff.c
parentc92fb6bebc781525e09bd38cb77f746c3b8d118c (diff)
downloadcompcert-kvx-15aafbb6ff578e10bfc9348c0d04aeaf83279705.tar.gz
compcert-kvx-15aafbb6ff578e10bfc9348c0d04aeaf83279705.zip
muf muf muf
Diffstat (limited to 'test/monniaux/jpeg-6b/jchuff.c')
-rw-r--r--test/monniaux/jpeg-6b/jchuff.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/monniaux/jpeg-6b/jchuff.c b/test/monniaux/jpeg-6b/jchuff.c
index 4b043beb..4a2d0da2 100644
--- a/test/monniaux/jpeg-6b/jchuff.c
+++ b/test/monniaux/jpeg-6b/jchuff.c
@@ -892,9 +892,7 @@ jinit_huff_encoder (j_compress_ptr cinfo)
(*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE,
SIZEOF(huff_entropy_encoder));
cinfo->entropy = (struct jpeg_entropy_encoder *) entropy;
-#ifdef DMONNIAUX_MEMCPY
- entropy->pub.start_pass = start_pass_huff;
-#endif
+ ASSIGN_FUNPTR(entropy->pub.start_pass, start_pass_huff);
/* Mark tables unallocated */
for (i = 0; i < NUM_HUFF_TBLS; i++) {
entropy->dc_derived_tbls[i] = entropy->ac_derived_tbls[i] = NULL;