aboutsummaryrefslogtreecommitdiff
path: root/games/yabause/ffmpeg3.patch
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-14 21:21:49 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-15 07:50:43 +0700
commitc12a3dcc11a93bd4a8852c4889c371a83cd1cb5d (patch)
treeb5c8b197ca02e857f87fce04d6ca7a34972626e6 /games/yabause/ffmpeg3.patch
parentc4be6f532f9f32dba3af91ac2e9a44e494238868 (diff)
games/yabause: Patched to fix build with ffmpeg 3.x.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/yabause/ffmpeg3.patch')
-rw-r--r--games/yabause/ffmpeg3.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/games/yabause/ffmpeg3.patch b/games/yabause/ffmpeg3.patch
new file mode 100644
index 0000000000000..c7144f3f94011
--- /dev/null
+++ b/games/yabause/ffmpeg3.patch
@@ -0,0 +1,20 @@
+--- yabause-0.9.15/src/mpeg_card.c.orig 2017-04-14 21:15:44.908378882 +0700
++++ yabause-0.9.15/src/mpeg_card.c 2017-04-14 21:17:15.386497605 +0700
+@@ -535,7 +535,7 @@
+ yab_mpeg.audio.context->channels = 2;
+ yab_mpeg.audio.context->sample_rate = 44100;
+
+- ret = av_image_alloc(out_buf,out_linesize, 320, 240,PIX_FMT_RGB32, 1);
++ ret = av_image_alloc(out_buf,out_linesize, 320, 240,AV_PIX_FMT_RGB32, 1);
+
+ if(!ret)
+ assert(0);
+@@ -561,7 +561,7 @@
+ //dest width, height, format
+ out_width,
+ out_height,
+- PIX_FMT_RGB32,
++ AV_PIX_FMT_RGB32,
+ //flags
+ SWS_BILINEAR,
+ //source/dest filters