From 2eaf3a41556f0dd1df253163657faf6ee4059926 Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Fri, 29 Dec 2023 08:53:21 +0300 Subject: media-video/transcode: new package, add 1.1.7-r6 Salvage last version from upstream due to its removal Signed-off-by: Alexander Golubev --- .../files/transcode-1.1.7-gcc10-fno-common.patch | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 media-video/transcode/files/transcode-1.1.7-gcc10-fno-common.patch (limited to 'media-video/transcode/files/transcode-1.1.7-gcc10-fno-common.patch') diff --git a/media-video/transcode/files/transcode-1.1.7-gcc10-fno-common.patch b/media-video/transcode/files/transcode-1.1.7-gcc10-fno-common.patch new file mode 100644 index 00000000..fcee415d --- /dev/null +++ b/media-video/transcode/files/transcode-1.1.7-gcc10-fno-common.patch @@ -0,0 +1,48 @@ +--- a/import/demux_pass.c ++++ b/import/demux_pass.c +@@ -32,8 +32,6 @@ + #include "packets.h" + + +-int gop, gop_pts, gop_cnt; +- + /* if you listen carefully, then you can hear the desesperate + * whisper of this code calling for a rewrite. Or for a redesign. + * Or both. -- FR +--- a/import/extract_ac3.c ++++ b/import/extract_ac3.c +@@ -334,7 +334,6 @@ + FILE *fd; + + #define MAX_BUF 4096 +-char audio[MAX_BUF]; + + + /* from ac3scan.c */ +@@ -472,6 +471,8 @@ + void extract_ac3(info_t *ipipe) + { + ++ char audio[MAX_BUF]; ++ + int error=0; + + avi_t *avifile; +--- a/import/extract_mp3.c ++++ b/import/extract_mp3.c +@@ -243,7 +243,6 @@ + } + + #define MAX_BUF 4096 +-char audio[MAX_BUF]; + + /* ------------------------------------------------------------ + * +@@ -258,6 +257,7 @@ + + void extract_mp3(info_t *ipipe) + { ++ char audio[MAX_BUF]; + + int error=0; + -- cgit v1.2.1