summaryrefslogtreecommitdiffstats
path: root/media-video/transcode/files/transcode-1.1.7-swresample.patch
blob: b9a908d122ef32a93f296549800355aa39c35c75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
https://bugs.gentoo.org/722296
https://git.archlinux.org/svntogit/community.git/tree/trunk/transcode-swresample.patch?h=packages/transcode&id=7fb278671fbd0a201de8d32aefee888fd253db44

--- transcode-1.1.7/filter/filter_resample.c
+++ transcode-1.1.7/filter/filter_resample.c
@@ -37,7 +37,7 @@
 #include "libtc/optstr.h"
 #include "libtc/tcavcodec.h"
 #include "libtc/tcmodule-plugin.h"
-#include <libavresample/avresample.h>
+#include <libswresample/swresample.h>
 
 
 typedef struct {
@@ -46,7 +46,7 @@
 
     int bytes_per_sample;
 
-    AVAudioResampleContext *resample_ctx;
+    SwrContext *resample_ctx;
 } ResamplePrivateData;
 
 static const char resample_help[] = ""