summaryrefslogtreecommitdiff
path: root/audio/ogmtools/gcc11.patch
blob: 80f7ab6c3625478afcae248210ea8e14fe9f11c8 (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
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
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
diff -Naur a/p_ac3.cpp b/p_ac3.cpp
--- a/p_ac3.cpp	2003-05-04 09:41:26.000000000 +0000
+++ b/p_ac3.cpp	2021-04-29 17:46:25.711376156 +0000
@@ -30,7 +30,7 @@
 ac3_packetizer_c::ac3_packetizer_c(unsigned long nsamples_per_sec,
                                    int nchannels, int nbitrate,
                                    audio_sync_t *nasync, range_t *nrange,
-                                   char **ncomments) throw (error_c) : q_c() {
+                                   char **ncomments) : q_c() {
   serialno = create_unique_serial();
   ogg_stream_init(&os, serialno);
   packetno = 0;
diff -Naur a/p_ac3.h b/p_ac3.h
--- a/p_ac3.h	2003-01-03 20:27:52.000000000 +0000
+++ b/p_ac3.h	2021-04-29 17:46:26.053379762 +0000
@@ -40,7 +40,7 @@
   public:
     ac3_packetizer_c(unsigned long nsamples_per_sec, int nchannels,
                      int nbitrate, audio_sync_t *nasync,
-                     range_t *nrange, char **ncomments) throw (error_c);
+                     range_t *nrange, char **ncomments);
     virtual ~ac3_packetizer_c();
     
     virtual int     process(char *buf, int size, int last_frame);
diff -Naur a/p_index.cpp b/p_index.cpp
--- a/p_index.cpp	2003-05-04 09:41:26.000000000 +0000
+++ b/p_index.cpp	2021-04-29 17:46:25.792377010 +0000
@@ -28,7 +28,7 @@
 #include "p_index.h"
 #include "vorbis_header_utils.h"
 
-index_packetizer_c::index_packetizer_c(int nserial) throw (error_c) : q_c() {
+index_packetizer_c::index_packetizer_c(int nserial) : q_c() {
   serialno = create_unique_serial();
   ogg_stream_init(&os, serialno);
   granulepos = 0;
diff -Naur a/p_index.h b/p_index.h
--- a/p_index.h	2003-05-04 09:41:26.000000000 +0000
+++ b/p_index.h	2021-04-29 17:46:25.976378950 +0000
@@ -33,7 +33,7 @@
     ogg_int64_t granulepos, packetno;
     int         serial;
   public:
-    index_packetizer_c(int nserial) throw (error_c);
+    index_packetizer_c(int nserial);
     virtual ~index_packetizer_c();
     
     virtual int     process(idx_entry *entries, int num);
diff -Naur a/p_mp3.cpp b/p_mp3.cpp
--- a/p_mp3.cpp	2003-05-20 07:08:37.000000000 +0000
+++ b/p_mp3.cpp	2021-04-29 17:46:25.863377759 +0000
@@ -30,7 +30,7 @@
 mp3_packetizer_c::mp3_packetizer_c(unsigned long nsamples_per_sec,
                                    int nchannels, int nmp3rate,
                                    audio_sync_t *nasync, range_t *nrange,
-                                   char **ncomments) throw (error_c) : q_c() {
+                                   char **ncomments) : q_c() {
   serialno = create_unique_serial();
   ogg_stream_init(&os, serialno);
   packetno = 0;
diff -Naur a/p_mp3.h b/p_mp3.h
--- a/p_mp3.h	2003-01-03 20:27:52.000000000 +0000
+++ b/p_mp3.h	2021-04-29 17:46:26.025379467 +0000
@@ -40,7 +40,7 @@
   public:
     mp3_packetizer_c(unsigned long nsamples_per_sec, int nchannels,
                      int nmp3rate, audio_sync_t *nasync,
-                     range_t *nrange, char **ncomments) throw (error_c);
+                     range_t *nrange, char **ncomments);
     virtual ~mp3_packetizer_c();
     
     virtual int     process(char *buf, int size, int last_frame);
diff -Naur a/p_pcm.cpp b/p_pcm.cpp
--- a/p_pcm.cpp	2003-05-04 09:41:26.000000000 +0000
+++ b/p_pcm.cpp	2021-04-29 17:46:25.726376314 +0000
@@ -29,7 +29,7 @@
 pcm_packetizer_c::pcm_packetizer_c(unsigned long nsamples_per_sec,
                                    int nchannels, int nbits_per_sample,
                                    audio_sync_t *nasync, range_t *nrange,
-                                   char **ncomments) throw (error_c) : q_c() {
+                                   char **ncomments) : q_c() {
   serialno = create_unique_serial();
   ogg_stream_init(&os, serialno);
   packetno = 0;
diff -Naur a/p_pcm.h b/p_pcm.h
--- a/p_pcm.h	2003-01-03 20:27:52.000000000 +0000
+++ b/p_pcm.h	2021-04-29 17:46:25.838377495 +0000
@@ -37,7 +37,7 @@
   public:
     pcm_packetizer_c(unsigned long nsamples_per_sec, int nchannels,
                      int nbits_per_sample, audio_sync_t *nasync,
-                     range_t *nrange, char **ncomments) throw (error_c);
+                     range_t *nrange, char **ncomments);
     virtual ~pcm_packetizer_c();
     
     virtual int     process(char *buf, int size, int last_frame);
diff -Naur a/p_textsubs.cpp b/p_textsubs.cpp
--- a/p_textsubs.cpp	2003-10-23 20:01:53.000000000 +0000
+++ b/p_textsubs.cpp	2021-04-29 17:46:25.802377115 +0000
@@ -29,7 +29,7 @@
 
 textsubs_packetizer_c::textsubs_packetizer_c(audio_sync_t *nasync,
                                              range_t *nrange, char **ncomments)
-                                             throw (error_c) : q_c() {
+                                             : q_c() {
   serialno = create_unique_serial();
   ogg_stream_init(&os, serialno);
   packetno = 0;
diff -Naur a/p_textsubs.h b/p_textsubs.h
--- a/p_textsubs.h	2003-01-03 20:27:52.000000000 +0000
+++ b/p_textsubs.h	2021-04-29 17:46:25.985379045 +0000
@@ -30,7 +30,7 @@
 
   public:
     textsubs_packetizer_c(audio_sync_t *nasync, range_t *nrange,
-                          char **ncomments) throw (error_c);
+                          char **ncomments);
     virtual ~textsubs_packetizer_c();
     
     virtual int     process(ogg_int64_t start, ogg_int64_t end, char *_subs,
diff -Naur a/p_video.cpp b/p_video.cpp
--- a/p_video.cpp	2003-05-04 09:41:26.000000000 +0000
+++ b/p_video.cpp	2021-04-29 17:46:25.948378655 +0000
@@ -31,7 +31,7 @@
                                        int nheight, int nbpp,
                                        int nmax_frame_size, audio_sync_t *as,
                                        range_t *nrange, char **ncomments)
-                                       throw (error_c) : q_c() {
+                                       : q_c() {
   serialno = create_unique_serial();
   ogg_stream_init(&os, serialno);
   packetno = 0;
diff -Naur a/p_video.h b/p_video.h
--- a/p_video.h	2003-01-03 20:27:52.000000000 +0000
+++ b/p_video.h	2021-04-29 17:46:25.813377231 +0000
@@ -35,7 +35,7 @@
     range_t         range;
   public:
     video_packetizer_c(char *, double, int, int, int, int, audio_sync_t *,
-                       range_t *nrange, char **ncomments) throw (error_c);
+                       range_t *nrange, char **ncomments);
     virtual ~video_packetizer_c();
     
     virtual int            process(char *buf, int size, int num_frames, int key,
diff -Naur a/p_vobsub.cpp b/p_vobsub.cpp
--- a/p_vobsub.cpp	2003-05-04 09:41:26.000000000 +0000
+++ b/p_vobsub.cpp	2021-04-29 17:46:26.065379889 +0000
@@ -34,7 +34,7 @@
                                          char *nid, int nindex,
                                          audio_sync_t *nasync,
                                          range_t *nrange, char **ncomments)
-                                         throw (error_c) : q_c() {
+                                         : q_c() {
   char buffer[50];
   serialno = create_unique_serial();
   ogg_stream_init(&os, serialno);
diff -Naur a/p_vobsub.h b/p_vobsub.h
--- a/p_vobsub.h	2003-03-01 17:53:41.000000000 +0000
+++ b/p_vobsub.h	2021-04-29 17:46:25.855377674 +0000
@@ -43,7 +43,7 @@
     vobsub_packetizer_c(int nwidth, int nheight, char *npalette,
                         int nlangidx, char *nid, int nindex,
                         audio_sync_t *nasync, range_t *nrange,
-                        char **ncomments) throw (error_c);
+                        char **ncomments);
     virtual ~vobsub_packetizer_c();
     
     virtual int     process(ogg_int64_t start, ogg_int64_t end, char *subs,
diff -Naur a/p_vorbis.cpp b/p_vorbis.cpp
--- a/p_vorbis.cpp	2003-10-23 19:46:32.000000000 +0000
+++ b/p_vorbis.cpp	2021-04-29 17:46:25.934378507 +0000
@@ -30,7 +30,7 @@
 #include "vorbis_header_utils.h"
 
 vorbis_packetizer_c::vorbis_packetizer_c(audio_sync_t *nasync, range_t *nrange,
-                                         char **ncomments) throw (error_c)
+                                         char **ncomments)
                                          : q_c() {
   packetno = 0;
   old_granulepos = 0;
diff -Naur a/p_vorbis.h b/p_vorbis.h
--- a/p_vorbis.h	2003-01-03 20:27:52.000000000 +0000
+++ b/p_vorbis.h	2021-04-29 17:46:25.776376841 +0000
@@ -37,7 +37,7 @@
 
   public:
     vorbis_packetizer_c(audio_sync_t *nasync, range_t *nrange, char **ncomments)
-                        throw (error_c);
+                       ;
     virtual ~vorbis_packetizer_c();
     
     virtual int     process(ogg_packet *op, ogg_int64_t gran);
diff -Naur a/queue.cpp b/queue.cpp
--- a/queue.cpp	2004-04-02 18:19:35.000000000 +0000
+++ b/queue.cpp	2021-04-29 17:46:26.011379319 +0000
@@ -21,7 +21,7 @@
 #include "ogmmerge.h"
 #include "queue.h"
 
-q_c::q_c() throw (error_c) : generic_packetizer_c() {
+q_c::q_c() : generic_packetizer_c() {
   first = NULL;
   current = NULL;
   next_is_key = -1;
diff -Naur a/queue.h b/queue.h
--- a/queue.h	2003-02-05 08:37:07.000000000 +0000
+++ b/queue.h	2021-04-29 17:46:26.079380037 +0000
@@ -36,7 +36,7 @@
     ogg_stream_state  os;
     
   public:
-    q_c() throw (error_c);
+    q_c();
     virtual ~q_c();
     
     virtual int              add_ogg_page(ogg_page *, int header_page,
diff -Naur a/r_ac3.cpp b/r_ac3.cpp
--- a/r_ac3.cpp	2003-11-12 08:48:17.000000000 +0000
+++ b/r_ac3.cpp	2021-04-29 17:46:26.095380205 +0000
@@ -55,7 +55,7 @@
 }
 
 ac3_reader_c::ac3_reader_c(char *fname, audio_sync_t *nasync,
-                           range_t *nrange, char **ncomments) throw (error_c) {
+                           range_t *nrange, char **ncomments) {
   int          pos;
   ac3_header_t ac3header;
   
diff -Naur a/r_ac3.h b/r_ac3.h
--- a/r_ac3.h	2003-05-04 09:41:26.000000000 +0000
+++ b/r_ac3.h	2021-04-29 17:46:25.700376040 +0000
@@ -36,7 +36,7 @@
      
   public:
     ac3_reader_c(char *fname, audio_sync_t *nasync, range_t *nrange,
-                 char **ncomments) throw (error_c);
+                 char **ncomments);
     virtual ~ac3_reader_c();
 
     virtual int              read();
diff -Naur a/r_avi.cpp b/r_avi.cpp
--- a/r_avi.cpp	2004-04-13 17:31:31.000000000 +0000
+++ b/r_avi.cpp	2021-04-29 17:46:25.846377579 +0000
@@ -55,7 +55,7 @@
 avi_reader_c::avi_reader_c(char *fname, unsigned char *astreams,
                            unsigned char *vstreams, audio_sync_t *nasync,
                            range_t *nrange, char **ncomments, char *nfourcc,
-                           char* nav_seek) throw (error_c) {
+                           char* nav_seek) {
   int            fsize, i;
   off_t          size;
   FILE          *f;
diff -Naur a/r_avi.h b/r_avi.h
--- a/r_avi.h	2004-04-01 16:02:52.000000000 +0000
+++ b/r_avi.h	2021-04-29 17:46:26.000379203 +0000
@@ -67,7 +67,7 @@
     avi_reader_c(char *fname, unsigned char *astreams,
                  unsigned char *vstreams, audio_sync_t *nasync,
                  range_t *nrange, char **ncomments, char *nfourcc,
-                 char* nav_seek) throw (error_c);
+                 char* nav_seek);
     virtual ~avi_reader_c();
 
     virtual int              read();
diff -Naur a/r_microdvd.cpp b/r_microdvd.cpp
--- a/r_microdvd.cpp	2003-05-04 09:41:26.000000000 +0000
+++ b/r_microdvd.cpp	2021-04-29 17:46:25.958378760 +0000
@@ -56,7 +56,7 @@
 
 microdvd_reader_c::microdvd_reader_c(char *fname, audio_sync_t *nasync,
                                      range_t *nrange, char **ncomments)
-                                     throw (error_c) {
+                                     {
   if ((file = fopen(fname, "r")) == NULL)
     throw error_c("microdvd_reader: Could not open source file.");
   if (!microdvd_reader_c::probe_file(file, 0))
diff -Naur a/r_microdvd.h b/r_microdvd.h
--- a/r_microdvd.h	2003-05-04 09:41:26.000000000 +0000
+++ b/r_microdvd.h	2021-04-29 17:46:25.741376472 +0000
@@ -35,7 +35,7 @@
      
   public:
     microdvd_reader_c(char *fname, audio_sync_t *nasync, range_t *nrange,
-                      char **ncomments) throw (error_c);
+                      char **ncomments);
     virtual ~microdvd_reader_c();
 
     virtual int              read();
diff -Naur a/r_mp3.cpp b/r_mp3.cpp
--- a/r_mp3.cpp	2004-07-06 15:42:16.000000000 +0000
+++ b/r_mp3.cpp	2021-04-29 17:46:25.907378223 +0000
@@ -60,7 +60,7 @@
 }
 
 mp3_reader_c::mp3_reader_c(char *fname, audio_sync_t *nasync,
-                           range_t *nrange, char **ncomments) throw (error_c) {
+                           range_t *nrange, char **ncomments) {
   int           pos;
   unsigned long header;
   mp3_header_t  mp3header;
diff -Naur a/r_mp3.h b/r_mp3.h
--- a/r_mp3.h	2003-05-04 09:41:26.000000000 +0000
+++ b/r_mp3.h	2021-04-29 17:46:26.036379583 +0000
@@ -40,7 +40,7 @@
      
   public:
     mp3_reader_c(char *fname, audio_sync_t *nasync, range_t *nrange,
-                 char **ncomments) throw (error_c);
+                 char **ncomments);
     virtual ~mp3_reader_c();
 
     virtual int              read();
diff -Naur a/r_ogm.cpp b/r_ogm.cpp
--- a/r_ogm.cpp	2004-02-10 11:17:17.000000000 +0000
+++ b/r_ogm.cpp	2021-04-29 17:46:25.967378855 +0000
@@ -60,7 +60,7 @@
 ogm_reader_c::ogm_reader_c(char *fname, unsigned char *astreams,
                            unsigned char *vstreams, unsigned char *tstreams,
                            audio_sync_t *nasync, range_t *nrange,
-                           char **ncomments, char *nfourcc) throw (error_c) {
+                           char **ncomments, char *nfourcc) {
   off_t size;
   
   if ((file = fopen(fname, "r")) == NULL)
diff -Naur a/r_ogm.h b/r_ogm.h
--- a/r_ogm.h	2004-02-10 11:17:17.000000000 +0000
+++ b/r_ogm.h	2021-04-29 17:46:25.880377938 +0000
@@ -62,7 +62,7 @@
     ogm_reader_c(char *fname, unsigned char *astreams,
                  unsigned char *vstreams, unsigned char *tstreams,
                  audio_sync_t *nasync, range_t *nrange, char **ncomments,
-                 char *nfourcc) throw (error_c);
+                 char *nfourcc);
     virtual ~ogm_reader_c();
 
     virtual int                   read();
diff -Naur a/r_srt.cpp b/r_srt.cpp
--- a/r_srt.cpp	2003-05-04 09:41:26.000000000 +0000
+++ b/r_srt.cpp	2021-04-29 17:46:25.925378412 +0000
@@ -62,7 +62,7 @@
 }
 
 srt_reader_c::srt_reader_c(char *fname, audio_sync_t *nasync,
-                           range_t *nrange, char **ncomments) throw (error_c) {
+                           range_t *nrange, char **ncomments) {
   if ((file = fopen(fname, "r")) == NULL)
     throw error_c("srt_reader: Could not open source file.");
   if (!srt_reader_c::probe_file(file, 0))
diff -Naur a/r_srt.h b/r_srt.h
--- a/r_srt.h	2003-05-04 09:41:26.000000000 +0000
+++ b/r_srt.h	2021-04-29 17:46:25.826377368 +0000
@@ -35,7 +35,7 @@
      
   public:
     srt_reader_c(char *fname, audio_sync_t *nasync, range_t *nrange,
-                 char **ncomments) throw (error_c);
+                 char **ncomments);
     virtual ~srt_reader_c();
 
     virtual int              read();
diff -Naur a/r_vobsub.cpp b/r_vobsub.cpp
--- a/r_vobsub.cpp	2004-04-13 17:31:31.000000000 +0000
+++ b/r_vobsub.cpp	2021-04-29 17:46:25.915378307 +0000
@@ -72,7 +72,7 @@
 
 vobsub_reader_c::vobsub_reader_c(char *fname, audio_sync_t *nasync,
                                  range_t *nrange, char **ncomments)
-                                 throw (error_c) {
+                                 {
   char *name;
   
   if ((file = fopen(fname, "r")) == NULL)
diff -Naur a/r_vobsub.h b/r_vobsub.h
--- a/r_vobsub.h	2003-05-04 09:41:26.000000000 +0000
+++ b/r_vobsub.h	2021-04-29 17:46:25.764376715 +0000
@@ -42,7 +42,7 @@
      
   public:
     vobsub_reader_c(char *fname, audio_sync_t *nasync, range_t *nrange,
-                    char **ncomments) throw (error_c);
+                    char **ncomments);
     virtual ~vobsub_reader_c();
 
     virtual int              read();
diff -Naur a/r_wav.cpp b/r_wav.cpp
--- a/r_wav.cpp	2003-05-04 09:41:26.000000000 +0000
+++ b/r_wav.cpp	2021-04-29 17:46:25.753376599 +0000
@@ -50,7 +50,7 @@
 }
 
 wav_reader_c::wav_reader_c(char *fname, audio_sync_t *nasync,
-                           range_t *nrange, char **ncomments) throw (error_c) {
+                           range_t *nrange, char **ncomments) {
   uint64_t size;
   uint32_t samplerate;
   uint16_t channels, bitdepth;
diff -Naur a/r_wav.h b/r_wav.h
--- a/r_wav.h	2003-05-04 09:41:26.000000000 +0000
+++ b/r_wav.h	2021-04-29 17:46:25.896378107 +0000
@@ -41,7 +41,7 @@
      
   public:
     wav_reader_c(char *fname, audio_sync_t *nasync, range_t *nrange,
-                 char **ncomments) throw (error_c);
+                 char **ncomments);
     virtual ~wav_reader_c();
 
     virtual int              read();