From 15aafbb6ff578e10bfc9348c0d04aeaf83279705 Mon Sep 17 00:00:00 2001 From: David Monniaux Date: Tue, 29 Jan 2019 22:00:49 +0100 Subject: muf muf muf --- test/monniaux/jpeg-6b/jchuff.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test/monniaux/jpeg-6b/jchuff.c') 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; -- cgit