1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/graphics/libjxr/files/patch-image_decode_JXRTranscode.c
Steve Wills 873a227eff graphics/libjxr: Update license information [1]
While here, fix portlint warning

PR:		222459 [1]
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org> [1]
Approved by:	Mikhail T. <mi@ALDAN.algebra.com> (maintainer) [1]
2017-10-20 15:17:08 +00:00

17 lines
775 B
C

Description: Fix function signature
Author: Mathieu Malaterre <malat@debian.org>
Origin: upstream, https://jxrlib.codeplex.com/SourceControl/changeset/04cf339385b8196f98025b43a366a0790deac994
Bug-Debian: http://bugs.debian.org/748590
--- image/decode/JXRTranscode.c.orig 2017-10-20 15:09:28 UTC
+++ image/decode/JXRTranscode.c
@@ -47,7 +47,7 @@ EXTERN_C Void FreeCodingContextDec(CWMImageStrCodec *)
EXTERN_C Int StrEncInit(CWMImageStrCodec *);
EXTERN_C Void StrIOEncTerm(CWMImageStrCodec *);
EXTERN_C Void FreeCodingContextEnc(CWMImageStrCodec *);
-EXTERN_C Void encodeMB(CWMImageStrCodec *, Int, Int);
+EXTERN_C Int encodeMB(CWMImageStrCodec *, Int, Int);
EXTERN_C Int writeIndexTableNull(CWMImageStrCodec *);
EXTERN_C Void writePacketHeader(BitIOInfo *, U8, U8);