summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-06-29 04:54:36 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-06-29 13:22:36 -0400
commit176a54440c40e800903fadf352a4ad4c1658658c (patch)
tree5f60f3b0558fa57b9b2e4778ad8b978781e868f8
parentgames-emulation/mgba: drop 0.9.3-r0 (diff)
downloadgentoo-176a5444.tar.gz
gentoo-176a5444.tar.bz2
gentoo-176a5444.zip
games-emulation/mgba: tidy patch and add links
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
-rw-r--r--games-emulation/mgba/files/mgba-0.9.3-ffmpeg5.patch14
1 files changed, 3 insertions, 11 deletions
diff --git a/games-emulation/mgba/files/mgba-0.9.3-ffmpeg5.patch b/games-emulation/mgba/files/mgba-0.9.3-ffmpeg5.patch
index cf4f6f56a2d4..6b8d55c377ea 100644
--- a/games-emulation/mgba/files/mgba-0.9.3-ffmpeg5.patch
+++ b/games-emulation/mgba/files/mgba-0.9.3-ffmpeg5.patch
@@ -1,15 +1,9 @@
-From cdc753516798882a805db1d2042dbce8313382bf Mon Sep 17 00:00:00 2001
+https://bugs.gentoo.org/834374
+
+https://github.com/mgba-emu/mgba/commit/cdc753516798882a805db1d2042dbce8313382bf
From: Ryan Tandy <ryan@nardis.ca>
Date: Thu, 3 Feb 2022 19:02:52 -0800
Subject: [PATCH] FFmpeg: Support FFmpeg 5.0
-
----
- src/feature/ffmpeg/ffmpeg-decoder.c | 3 ++-
- src/feature/ffmpeg/ffmpeg-encoder.c | 25 ++++++++++++++-----------
- 2 files changed, 16 insertions(+), 12 deletions(-)
-
-diff --git a/src/feature/ffmpeg/ffmpeg-decoder.c b/src/feature/ffmpeg/ffmpeg-decoder.c
-index c3bb6d1c5c..daa47fbf2c 100644
--- a/src/feature/ffmpeg/ffmpeg-decoder.c
+++ b/src/feature/ffmpeg/ffmpeg-decoder.c
@@ -5,6 +5,7 @@
@@ -29,8 +23,6 @@ index c3bb6d1c5c..daa47fbf2c 100644
struct AVCodecContext* context = NULL;
if (type == AVMEDIA_TYPE_VIDEO && decoder->videoStream < 0) {
decoder->video = avcodec_alloc_context3(NULL);
-diff --git a/src/feature/ffmpeg/ffmpeg-encoder.c b/src/feature/ffmpeg/ffmpeg-encoder.c
-index ad76ca57b2..be6bd3af5e 100644
--- a/src/feature/ffmpeg/ffmpeg-encoder.c
+++ b/src/feature/ffmpeg/ffmpeg-encoder.c
@@ -12,6 +12,9 @@