mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-24 01:26:15 +00:00
67af201270
not building with Clang 16. Dead upstream.
18 lines
614 B
Diff
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;
|
|
|