diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
commit | b7ebc951da8800f711142f69d9d958bde67a112d (patch) | |
tree | e318514216845acb8f2e49fff7a5cba4027e9d91 /media-sound/karlyriceditor/files/karlyriceditor-2.2-ffmpeg-4.patch | |
parent | dc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff) |
gentoo resync : 28.04.2019
Diffstat (limited to 'media-sound/karlyriceditor/files/karlyriceditor-2.2-ffmpeg-4.patch')
-rw-r--r-- | media-sound/karlyriceditor/files/karlyriceditor-2.2-ffmpeg-4.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/media-sound/karlyriceditor/files/karlyriceditor-2.2-ffmpeg-4.patch b/media-sound/karlyriceditor/files/karlyriceditor-2.2-ffmpeg-4.patch deleted file mode 100644 index b7ae9d6e90b4..000000000000 --- a/media-sound/karlyriceditor/files/karlyriceditor-2.2-ffmpeg-4.patch +++ /dev/null @@ -1,34 +0,0 @@ -Description: Fix FTBFS with FFmpeg 4.0 -Author: James Cowgill <jcowgill@debian.org> -Bug-Debian: https://bugs.debian.org/888377 ---- -This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ ---- a/src/ffmpegvideoencoder.cpp -+++ b/src/ffmpegvideoencoder.cpp -@@ -345,7 +345,7 @@ av_log_set_level(AV_LOG_VERBOSE); - - // Enable interlacing if needed - if ( m_videoformat->flags & VIFO_INTERLACED ) -- videoCodecCtx->flags |= CODEC_FLAG_INTERLACED_DCT; -+ videoCodecCtx->flags |= AV_CODEC_FLAG_INTERLACED_DCT; - - // Enable multithreaded encoding: breaks FLV! - //videoCodecCtx->thread_count = 4; -@@ -373,7 +373,7 @@ av_log_set_level(AV_LOG_VERBOSE); - - // If we have a global header for the format, no need to duplicate the codec info in each keyframe - if ( outputFormatCtx->oformat->flags & AVFMT_GLOBALHEADER ) -- videoCodecCtx->flags |= CODEC_FLAG_GLOBAL_HEADER; -+ videoCodecCtx->flags |= AV_CODEC_FLAG_GLOBAL_HEADER; - - // Open the codec - if ( ( err = avcodec_open2( videoCodecCtx, videoCodec, 0 )) < 0 ) -@@ -463,7 +463,7 @@ av_log_set_level(AV_LOG_VERBOSE); - audioCodecCtx->time_base.den = m_profile->sampleRate; - - if ( outputFormatCtx->oformat->flags & AVFMT_GLOBALHEADER ) -- audioCodecCtx->flags |= CODEC_FLAG_GLOBAL_HEADER; -+ audioCodecCtx->flags |= AV_CODEC_FLAG_GLOBAL_HEADER; - - // Since different audio codecs support different sample formats, look up which one is supported by this specific codec - if ( isAudioSampleFormatSupported( audioCodec->sample_fmts, AV_SAMPLE_FMT_FLTP ) ) |