aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/jpeg-6b/jchuff.c
diff options
context:
space:
mode:
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;