Control: tags -1 patch Hi,
On Wed, 24 Jan 2018 22:26:50 +0000 jcowg...@debian.org wrote: > Source: kino > Version: 1.3.4-2.3 > 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/888389 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/src/frame.cc +++ b/src/frame.cc @@ -1366,7 +1366,7 @@ bool Frame::CreateEncoder( bool isPAL, b avcodecEncoder->thread_count = 2; avcodecEncoder->time_base= isPAL ? ( AVRational ){ 1, 25 } : ( AVRational ){ 1001, 30000 }; avcodecEncoder->pix_fmt = isPAL ? AV_PIX_FMT_YUV420P : AV_PIX_FMT_YUV411P; - avcodecEncoder->flags |= CODEC_FLAG_INTERLACED_DCT; + avcodecEncoder->flags |= AV_CODEC_FLAG_INTERLACED_DCT; avcodec_open2( avcodecEncoder, avcodec_find_encoder( AV_CODEC_ID_DVVIDEO ), NULL ); tempImage = ( uint8_t* ) av_malloc( avpicture_get_size( avcodecEncoder->pix_fmt, avcodecEncoder->width, avcodecEncoder->height ) );
signature.asc
Description: OpenPGP digital signature