summaryrefslogtreecommitdiff
path: root/media-video/transcode/files/transcode-1.1.7-swresample.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/transcode/files/transcode-1.1.7-swresample.patch')
-rw-r--r--media-video/transcode/files/transcode-1.1.7-swresample.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/media-video/transcode/files/transcode-1.1.7-swresample.patch b/media-video/transcode/files/transcode-1.1.7-swresample.patch
new file mode 100644
index 000000000000..b9a908d122ef
--- /dev/null
+++ b/media-video/transcode/files/transcode-1.1.7-swresample.patch
@@ -0,0 +1,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[] = ""