Date: Fri, 27 Apr 2018 14:37:28 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r468431 - head/textproc/libextractor/files Message-ID: <201804271437.w3REbSGk035847@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Fri Apr 27 14:37:28 2018 New Revision: 468431 URL: https://svnweb.freebsd.org/changeset/ports/468431 Log: textproc/libextractor: unbreak with ffmpeg 4.0 thumbnailffmpeg_extractor.c:426:29: error: use of undeclared identifier 'FF_INPUT_BUFFER_PADDING_SIZE' unsigned char padded_data[PADDED_BUFFER_SIZE]; ^ thumbnailffmpeg_extractor.c:99:43: note: expanded from macro 'PADDED_BUFFER_SIZE' #define PADDED_BUFFER_SIZE (BUFFER_SIZE + FF_INPUT_BUFFER_PADDING_SIZE) ^ thumbnailffmpeg_extractor.c:479:38: error: use of undeclared identifier 'FF_INPUT_BUFFER_PADDING_SIZE' memset (&padded_data[iret], 0, PADDED_BUFFER_SIZE - iret); ^ thumbnailffmpeg_extractor.c:99:43: note: expanded from macro 'PADDED_BUFFER_SIZE' #define PADDED_BUFFER_SIZE (BUFFER_SIZE + FF_INPUT_BUFFER_PADDING_SIZE) ^ PR: 227726 Modified: head/textproc/libextractor/files/patch-ffmpeg29 (contents, props changed) Modified: head/textproc/libextractor/files/patch-ffmpeg29 ============================================================================== --- head/textproc/libextractor/files/patch-ffmpeg29 Fri Apr 27 14:22:45 2018 (r468430) +++ head/textproc/libextractor/files/patch-ffmpeg29 Fri Apr 27 14:37:28 2018 (r468431) @@ -24,6 +24,15 @@ Applied-Upstream: commit: r35548:r35549 and r36975 /** * Set to 1 to enable debug output. */ +@@ -82,7 +96,7 @@ + /** + * Number of bytes to feed to libav in one go, with padding (padding is zeroed). + */ +-#define PADDED_BUFFER_SIZE (BUFFER_SIZE + FF_INPUT_BUFFER_PADDING_SIZE) ++#define PADDED_BUFFER_SIZE (BUFFER_SIZE + AV_INPUT_BUFFER_PADDING_SIZE) + + /** + * Global handle to MAGIC data. @@ -153,7 +167,7 @@ static size_t create_thumbnail (int src_width, int src_height,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804271437.w3REbSGk035847>