From 43793fab84041cfc5c60c0151d1591b8a69fb24a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 25 Aug 2018 07:36:27 +0100 Subject: gentoo resync : 25.08.2018 --- sci-electronics/gazebo/files/ffmpeg4.patch | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 sci-electronics/gazebo/files/ffmpeg4.patch (limited to 'sci-electronics/gazebo/files/ffmpeg4.patch') diff --git a/sci-electronics/gazebo/files/ffmpeg4.patch b/sci-electronics/gazebo/files/ffmpeg4.patch deleted file mode 100644 index 7bd8777dea3f..000000000000 --- a/sci-electronics/gazebo/files/ffmpeg4.patch +++ /dev/null @@ -1,30 +0,0 @@ -Index: gazebo-9.0.0/gazebo/common/AudioDecoder.cc -=================================================================== ---- gazebo-9.0.0.orig/gazebo/common/AudioDecoder.cc -+++ gazebo-9.0.0/gazebo/common/AudioDecoder.cc -@@ -255,8 +255,8 @@ bool AudioDecoder::SetFile(const std::st - return false; - } - -- if (this->codec->capabilities & CODEC_CAP_TRUNCATED) -- this->codecCtx->flags |= CODEC_FLAG_TRUNCATED; -+ if (this->codec->capabilities & AV_CODEC_CAP_TRUNCATED) -+ this->codecCtx->flags |= AV_CODEC_FLAG_TRUNCATED; - - // Open codec - if (avcodec_open2(this->codecCtx, this->codec, nullptr) < 0) -Index: gazebo-9.0.0/gazebo/common/Video.cc -=================================================================== ---- gazebo-9.0.0.orig/gazebo/common/Video.cc -+++ gazebo-9.0.0/gazebo/common/Video.cc -@@ -143,8 +143,8 @@ bool Video::Load(const std::string &_fil - - // Inform the codec that we can handle truncated bitstreams -- i.e., - // bitstreams where frame boundaries can fall in the middle of packets -- if (codec->capabilities & CODEC_CAP_TRUNCATED) -- this->codecCtx->flags |= CODEC_FLAG_TRUNCATED; -+ if (codec->capabilities & AV_CODEC_CAP_TRUNCATED) -+ this->codecCtx->flags |= AV_CODEC_FLAG_TRUNCATED; - - // Open codec - if (avcodec_open2(this->codecCtx, codec, nullptr) < 0) -- cgit v1.2.3