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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
|
diff -ru libmp3splt-0.9.2.orig/plugins/flac.c libmp3splt-0.9.2/plugins/flac.c
--- libmp3splt-0.9.2.orig/plugins/flac.c 2014-05-10 16:38:47.000000000 +0200
+++ libmp3splt-0.9.2/plugins/flac.c 2021-03-26 14:34:08.419874982 +0100
@@ -27,6 +27,7 @@
*
*********************************************************/
+#include <stdlib.h>
#include <string.h>
#include "splt.h"
diff -ru libmp3splt-0.9.2.orig/plugins/ogg.c libmp3splt-0.9.2/plugins/ogg.c
--- libmp3splt-0.9.2.orig/plugins/ogg.c 2014-05-10 16:38:10.000000000 +0200
+++ libmp3splt-0.9.2/plugins/ogg.c 2021-03-26 14:34:59.147873394 +0100
@@ -41,6 +41,7 @@
The Plug-in that handles ogg vorbis files
*/
+#include <stdlib.h>
#include <time.h>
#include <string.h>
#include <locale.h>
diff -ru libmp3splt-0.9.2.orig/plugins/ogg_new_stream_handler.c libmp3splt-0.9.2/plugins/ogg_new_stream_handler.c
--- libmp3splt-0.9.2.orig/plugins/ogg_new_stream_handler.c 2014-05-10 16:38:37.000000000 +0200
+++ libmp3splt-0.9.2/plugins/ogg_new_stream_handler.c 2021-03-26 14:36:25.667870685 +0100
@@ -38,6 +38,7 @@
#include "ogg_new_stream_handler.h"
+#include <stdlib.h>
#include <string.h>
splt_ogg_new_stream_handler *splt_ogg_nsh_new(splt_state *state, splt_ogg_state *oggstate,
diff -ru libmp3splt-0.9.2.orig/plugins/ogg_silence.c libmp3splt-0.9.2/plugins/ogg_silence.c
--- libmp3splt-0.9.2.orig/plugins/ogg_silence.c 2014-05-10 16:37:35.000000000 +0200
+++ libmp3splt-0.9.2/plugins/ogg_silence.c 2021-03-26 14:34:39.875873998 +0100
@@ -36,6 +36,7 @@
*
*********************************************************/
+#include <stdlib.h>
#include <string.h>
#include <math.h>
diff -ru libmp3splt-0.9.2.orig/plugins/ogg_utils.c libmp3splt-0.9.2/plugins/ogg_utils.c
--- libmp3splt-0.9.2.orig/plugins/ogg_utils.c 2014-05-10 16:38:18.000000000 +0200
+++ libmp3splt-0.9.2/plugins/ogg_utils.c 2021-03-26 14:39:00.414825145 +0100
@@ -36,6 +36,7 @@
*
*********************************************************/
+#include <stdlib.h>
#include <string.h>
#include <math.h>
diff -ru libmp3splt-0.9.2.orig/plugins/silence_processors.c libmp3splt-0.9.2/plugins/silence_processors.c
--- libmp3splt-0.9.2.orig/plugins/silence_processors.c 2014-05-10 16:39:18.000000000 +0200
+++ libmp3splt-0.9.2/plugins/silence_processors.c 2021-03-26 14:39:14.954824690 +0100
@@ -26,6 +26,8 @@
#include "silence_processors.h"
+#include <stdlib.h>
+
static void write_to_full_log(splt_state *state, double time, float level, int shots, int found,
double begin_position, double end_position);
diff -ru libmp3splt-0.9.2.orig/src/cddb.c libmp3splt-0.9.2/src/cddb.c
--- libmp3splt-0.9.2.orig/src/cddb.c 2014-05-10 16:28:18.000000000 +0200
+++ libmp3splt-0.9.2/src/cddb.c 2021-03-26 14:52:07.483887567 +0100
@@ -28,6 +28,8 @@
The cddb search functionality
*/
+
+#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <math.h>
diff -ru libmp3splt-0.9.2.orig/src/client.c libmp3splt-0.9.2/src/client.c
--- libmp3splt-0.9.2.orig/src/client.c 2014-05-10 16:35:00.000000000 +0200
+++ libmp3splt-0.9.2/src/client.c 2021-03-26 14:54:11.631883680 +0100
@@ -29,6 +29,7 @@
*
*********************************************************/
+#include <stdlib.h>
#include <string.h>
#include "splt.h"
diff -ru libmp3splt-0.9.2.orig/src/cue.c libmp3splt-0.9.2/src/cue.c
--- libmp3splt-0.9.2.orig/src/cue.c 2014-09-20 21:00:47.000000000 +0200
+++ libmp3splt-0.9.2/src/cue.c 2021-03-26 14:52:20.071887172 +0100
@@ -28,6 +28,8 @@
All that is needed in order to be able to read and write cue files.
*/
+
+#include <stdlib.h>
#include <string.h>
#include <ctype.h>
diff -ru libmp3splt-0.9.2.orig/src/debug.c libmp3splt-0.9.2/src/debug.c
--- libmp3splt-0.9.2.orig/src/debug.c 2014-05-10 16:28:13.000000000 +0200
+++ libmp3splt-0.9.2/src/debug.c 2021-03-26 14:41:25.130820614 +0100
@@ -29,6 +29,7 @@
*
*********************************************************/
+#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
diff -ru libmp3splt-0.9.2.orig/src/errors.c libmp3splt-0.9.2/src/errors.c
--- libmp3splt-0.9.2.orig/src/errors.c 2014-10-07 02:22:55.000000000 +0200
+++ libmp3splt-0.9.2/src/errors.c 2021-03-26 14:46:07.532650882 +0100
@@ -35,6 +35,7 @@
that is meant to be used directly are all in mp3splt.c.
*/
+#include <stdlib.h>
#include <string.h>
#include <errno.h>
diff -ru libmp3splt-0.9.2.orig/src/freedb.c libmp3splt-0.9.2/src/freedb.c
--- libmp3splt-0.9.2.orig/src/freedb.c 2014-05-10 16:34:54.000000000 +0200
+++ libmp3splt-0.9.2/src/freedb.c 2021-03-26 14:54:21.763883362 +0100
@@ -32,6 +32,7 @@
that is meant to be used directly are all in mp3splt.c.
*/
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff -ru libmp3splt-0.9.2.orig/src/freedb_utils.c libmp3splt-0.9.2/src/freedb_utils.c
--- libmp3splt-0.9.2.orig/src/freedb_utils.c 2014-05-10 16:28:17.000000000 +0200
+++ libmp3splt-0.9.2/src/freedb_utils.c 2021-03-26 14:54:45.335882624 +0100
@@ -33,6 +33,8 @@
Utilities used by the functions in freedb.c
*/
+
+#include <stdlib.h>
#include <string.h>
#include "splt.h"
diff -ru libmp3splt-0.9.2.orig/src/input_output.c libmp3splt-0.9.2/src/input_output.c
--- libmp3splt-0.9.2.orig/src/input_output.c 2014-09-19 23:48:27.000000000 +0200
+++ libmp3splt-0.9.2/src/input_output.c 2021-03-26 14:49:12.768645082 +0100
@@ -28,6 +28,8 @@
This file contains all I/O functions this library uses.
*/
+
+#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
diff -ru libmp3splt-0.9.2.orig/src/mp3splt.c libmp3splt-0.9.2/src/mp3splt.c
--- libmp3splt-0.9.2.orig/src/mp3splt.c 2014-09-16 23:39:39.000000000 +0200
+++ libmp3splt-0.9.2/src/mp3splt.c 2021-03-26 14:47:15.272648761 +0100
@@ -42,6 +42,7 @@
should therefore not be too hard a task...
*/
+#include <stdlib.h>
#include <sys/stat.h>
#include <string.h>
diff -ru libmp3splt-0.9.2.orig/src/oformat_parser.c libmp3splt-0.9.2/src/oformat_parser.c
--- libmp3splt-0.9.2.orig/src/oformat_parser.c 2014-10-03 00:46:20.000000000 +0200
+++ libmp3splt-0.9.2/src/oformat_parser.c 2021-03-26 14:41:38.526820195 +0100
@@ -33,6 +33,8 @@
Automatic generation of filenams for split files from tags.
*/
+
+#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <math.h>
diff -ru libmp3splt-0.9.2.orig/src/options.c libmp3splt-0.9.2/src/options.c
--- libmp3splt-0.9.2.orig/src/options.c 2014-05-29 00:04:18.000000000 +0200
+++ libmp3splt-0.9.2/src/options.c 2021-03-26 14:52:30.959886832 +0100
@@ -31,6 +31,8 @@
#include "splt.h"
+#include <stdlib.h>
+
extern int global_debug;
void splt_o_set_options_default_values(splt_state *state)
diff -ru libmp3splt-0.9.2.orig/src/output_format.c libmp3splt-0.9.2/src/output_format.c
--- libmp3splt-0.9.2.orig/src/output_format.c 2014-05-10 16:28:15.000000000 +0200
+++ libmp3splt-0.9.2/src/output_format.c 2021-03-26 14:49:26.076644665 +0100
@@ -33,6 +33,8 @@
The format of output file names
*/
+
+#include <stdlib.h>
#include <string.h>
#include <math.h>
diff -ru libmp3splt-0.9.2.orig/src/pair.c libmp3splt-0.9.2/src/pair.c
--- libmp3splt-0.9.2.orig/src/pair.c 2014-05-10 16:34:54.000000000 +0200
+++ libmp3splt-0.9.2/src/pair.c 2021-03-26 14:41:54.206819704 +0100
@@ -35,6 +35,8 @@
*/
#include "splt.h"
+#include <stdlib.h>
+
splt_int_pair *splt_int_pair_new(int first, int second)
{
splt_int_pair *pair = malloc(sizeof(splt_int_pair));
diff -ru libmp3splt-0.9.2.orig/src/proxy.c libmp3splt-0.9.2/src/proxy.c
--- libmp3splt-0.9.2.orig/src/proxy.c 2014-05-10 16:35:00.000000000 +0200
+++ libmp3splt-0.9.2/src/proxy.c 2021-03-26 14:39:57.110823370 +0100
@@ -31,6 +31,7 @@
#include "splt.h"
+#include <stdlib.h>
#include <string.h>
static void splt_pr_free_proxy_address(splt_state *state);
diff -ru libmp3splt-0.9.2.orig/src/silence_utils.c libmp3splt-0.9.2/src/silence_utils.c
--- libmp3splt-0.9.2.orig/src/silence_utils.c 2014-05-10 16:28:14.000000000 +0200
+++ libmp3splt-0.9.2/src/silence_utils.c 2021-03-26 14:55:20.373966575 +0100
@@ -35,6 +35,8 @@
*/
#include "splt.h"
+#include <stdlib.h>
+
int splt_siu_ssplit_new(struct splt_ssplit **silence_list,
float begin_position, float end_position, int len, int *error)
{
diff -ru libmp3splt-0.9.2.orig/src/socket_manager.c libmp3splt-0.9.2/src/socket_manager.c
--- libmp3splt-0.9.2.orig/src/socket_manager.c 2014-05-10 16:28:15.000000000 +0200
+++ libmp3splt-0.9.2/src/socket_manager.c 2021-03-26 14:40:18.558822698 +0100
@@ -33,6 +33,7 @@
Manages a socket connection
*/
+#include <stdlib.h>
#include <unistd.h>
#ifdef __WIN32__
diff -ru libmp3splt-0.9.2.orig/src/split_points.c libmp3splt-0.9.2/src/split_points.c
--- libmp3splt-0.9.2.orig/src/split_points.c 2014-09-20 20:21:07.000000000 +0200
+++ libmp3splt-0.9.2/src/split_points.c 2021-03-26 15:03:13.525209460 +0100
@@ -34,6 +34,8 @@
All functions needed for handling split points (adding to the list,
checking, of this split point already exists,...)
*/
+
+#include <stdlib.h>
#include <string.h>
#include <math.h>
diff -ru libmp3splt-0.9.2.orig/src/splt.c libmp3splt-0.9.2/src/splt.c
--- libmp3splt-0.9.2.orig/src/splt.c 2014-10-12 11:16:46.000000000 +0200
+++ libmp3splt-0.9.2/src/splt.c 2021-03-26 14:49:40.811892159 +0100
@@ -34,6 +34,7 @@
Actually split the input file
*/
+#include <stdlib.h>
#include <sys/stat.h>
#include <string.h>
#include <math.h>
diff -ru libmp3splt-0.9.2.orig/src/sync_errors.c libmp3splt-0.9.2/src/sync_errors.c
--- libmp3splt-0.9.2.orig/src/sync_errors.c 2014-05-10 16:34:58.000000000 +0200
+++ libmp3splt-0.9.2/src/sync_errors.c 2021-03-26 14:50:01.567891509 +0100
@@ -46,6 +46,8 @@
#include "splt.h"
+#include <stdlib.h>
+
void splt_se_set_sync_errors_default_values(splt_state *state)
{
splt_syncerrors *serrors = state->serrors;
diff -ru libmp3splt-0.9.2.orig/src/tags_parser.c libmp3splt-0.9.2/src/tags_parser.c
--- libmp3splt-0.9.2.orig/src/tags_parser.c 2014-05-10 16:34:59.000000000 +0200
+++ libmp3splt-0.9.2/src/tags_parser.c 2021-03-26 14:42:25.154818735 +0100
@@ -33,6 +33,8 @@
Parse tags (Artist, Album, Year,...)
*/
+
+#include <stdlib.h>
#include <string.h>
#include <ctype.h>
diff -ru libmp3splt-0.9.2.orig/src/tags_utils.c libmp3splt-0.9.2/src/tags_utils.c
--- libmp3splt-0.9.2.orig/src/tags_utils.c 2014-05-10 16:28:14.000000000 +0200
+++ libmp3splt-0.9.2/src/tags_utils.c 2021-03-26 14:59:31.017958728 +0100
@@ -25,6 +25,7 @@
* USA.
*********************************************************/
+#include <stdlib.h>
#include <string.h>
#include "splt.h"
diff -ru libmp3splt-0.9.2.orig/src/types_func.c libmp3splt-0.9.2/src/types_func.c
--- libmp3splt-0.9.2.orig/src/types_func.c 2014-05-10 16:34:55.000000000 +0200
+++ libmp3splt-0.9.2/src/types_func.c 2021-03-26 14:45:49.760651438 +0100
@@ -35,6 +35,7 @@
split.
*/
+#include <stdlib.h>
#include <string.h>
#include "splt.h"
diff -ru libmp3splt-0.9.2.orig/src/wrap.c libmp3splt-0.9.2/src/wrap.c
--- libmp3splt-0.9.2.orig/src/wrap.c 2014-05-10 16:34:57.000000000 +0200
+++ libmp3splt-0.9.2/src/wrap.c 2021-03-26 14:42:36.990818364 +0100
@@ -34,6 +34,8 @@
Automatically split mp3 files created with mp3wrap into the original
tracks
*/
+
+#include <stdlib.h>
#include <string.h>
#include "splt.h"
|