Control: tags -1 patch Hi,
On Wed, 24 Jan 2018 22:26:50 +0000 jcowg...@debian.org wrote: > Source: libextractor > Version: 1:1.6-2 > Severity: important > User: debian-multime...@lists.debian.org > Usertags: ffmpeg-3.5-transition > > Hi, > > Your package FTBFS with the upcoming version 3.5 of FFmpeg. The attached patch fixes this. James
Description: Fix FTBFS with FFmpeg 4.0 Author: James Cowgill <jcowg...@debian.org> Bug-Debian: https://bugs.debian.org/888373 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/src/plugins/thumbnailffmpeg_extractor.c +++ b/src/plugins/thumbnailffmpeg_extractor.c @@ -107,7 +107,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. @@ -355,7 +355,7 @@ create_thumbnail (AVCodecContext *pCodec encoder_codec_ctx->mb_lmin = encoder_codec_ctx->qmin * FF_QP2LAMBDA; encoder_codec_ctx->mb_lmax = encoder_codec_ctx->qmax * FF_QP2LAMBDA; #endif - encoder_codec_ctx->flags = CODEC_FLAG_QSCALE; + encoder_codec_ctx->flags = AV_CODEC_FLAG_QSCALE; encoder_codec_ctx->global_quality = encoder_codec_ctx->qmin * FF_QP2LAMBDA; dst_frame->pts = 1;
signature.asc
Description: OpenPGP digital signature