summarylogtreecommitdiffstats
path: root/transcode-gcc10.patch
blob: fcee415deee1bbb8b7c9c5e637be76a016e82758 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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;