aboutsummaryrefslogtreecommitdiff
path: root/games/yabause/ffmpeg3.patch
blob: c7144f3f94011a0dff620e041e387a60d1d5e338 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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