0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-24 01:26:15 +00:00
termux-packages/disabled-packages/transcode/import-import_mplayer.c.patch
Tee KOBAYASHI 67af201270 transcode: Disabled
not building with Clang 16. Dead upstream.
2023-04-13 06:19:59 +09:00

18 lines
614 B
Diff

--- a/import/import_mplayer.c
+++ b/import/import_mplayer.c
@@ -37,10 +37,10 @@
-#define VIDEOPIPE_TEMPLATE "/tmp/mplayer2transcode-video.XXXXXX"
-#define AUDIOPIPE_TEMPLATE "/tmp/mplayer2transcode-audio.XXXXXX"
-static char videopipe[40];
-static char audiopipe[40];
+#define VIDEOPIPE_TEMPLATE "@TERMUX_PREFIX@/tmp/mplayer2transcode-video.XXXXXX"
+#define AUDIOPIPE_TEMPLATE "@TERMUX_PREFIX@/tmp/mplayer2transcode-audio.XXXXXX"
+static char videopipe[strlen(VIDEOPIPE_TEMPLATE)+1];
+static char audiopipe[strlen(AUDIOPIPE_TEMPLATE)+1];
static FILE *videopipefd = NULL;
static FILE *audiopipefd = NULL;