]> git.sesse.net Git - vlc/blob - extras/contrib/src/Patches/ffmpeg-svn-wince.patch
contribs: fixed liboil compilation on PPC machines
[vlc] / extras / contrib / src / Patches / ffmpeg-svn-wince.patch
1 Index: ../ffmpeg/libavcodec/4xm.c
2 ===================================================================
3 RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/4xm.c,v
4 retrieving revision 1.15
5 diff -u -r1.15 4xm.c
6 --- ../ffmpeg/libavcodec/4xm.c  24 Apr 2005 17:21:07 -0000      1.15
7 +++ ../ffmpeg/libavcodec/4xm.c  27 Nov 2005 16:54:10 -0000
8 @@ -26,9 +26,6 @@
9  #include "dsputil.h"
10  #include "mpegvideo.h"
11  
12 -//#undef NDEBUG
13 -//#include <assert.h>
14 -
15  #define BLOCK_TYPE_VLC_BITS 5
16  #define ACDC_VLC_BITS 9
17  
18 Index: ../ffmpeg/libavcodec/asv1.c
19 ===================================================================
20 RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/asv1.c,v
21 retrieving revision 1.18
22 diff -u -r1.18 asv1.c
23 --- ../ffmpeg/libavcodec/asv1.c 7 May 2005 19:24:07 -0000       1.18
24 +++ ../ffmpeg/libavcodec/asv1.c 27 Nov 2005 16:54:10 -0000
25 @@ -26,9 +26,6 @@
26  #include "dsputil.h"
27  #include "mpegvideo.h"
28  
29 -//#undef NDEBUG
30 -//#include <assert.h>
31 -
32  #define VLC_BITS 6
33  #define ASV2_LEVEL_VLC_BITS 10
34   
35 Index: ../ffmpeg/libavcodec/cabac.h
36 ===================================================================
37 RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/cabac.h,v
38 retrieving revision 1.11
39 diff -u -r1.11 cabac.h
40 --- ../ffmpeg/libavcodec/cabac.h        29 May 2005 18:18:13 -0000      1.11
41 +++ ../ffmpeg/libavcodec/cabac.h        27 Nov 2005 16:54:10 -0000
42 @@ -26,9 +26,6 @@
43   */
44  
45  
46 -#undef NDEBUG
47 -#include <assert.h>
48 -
49  #define CABAC_BITS 8
50  #define CABAC_MASK ((1<<CABAC_BITS)-1)
51  
52 Index: ../ffmpeg/libavcodec/dv.c
53 ===================================================================
54 RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/dv.c,v
55 retrieving revision 1.65
56 diff -u -r1.65 dv.c
57 --- ../ffmpeg/libavcodec/dv.c   2 Sep 2005 08:30:26 -0000       1.65
58 +++ ../ffmpeg/libavcodec/dv.c   27 Nov 2005 16:54:11 -0000
59 @@ -34,9 +34,6 @@
60  #include "simple_idct.h"
61  #include "dvdata.h"
62  
63 -//#undef NDEBUG
64 -//#include <assert.h>
65 -
66  typedef struct DVVideoContext {
67      const DVprofile* sys;
68      AVFrame picture;
69 Index: ../ffmpeg/libavcodec/dvdsubenc.c
70 ===================================================================
71 RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/dvdsubenc.c,v
72 retrieving revision 1.1
73 diff -u -r1.1 dvdsubenc.c
74 --- ../ffmpeg/libavcodec/dvdsubenc.c    14 Nov 2005 22:17:29 -0000      1.1
75 +++ ../ffmpeg/libavcodec/dvdsubenc.c    27 Nov 2005 16:54:11 -0000
76 @@ -18,9 +18,6 @@
77   */
78  #include "avcodec.h"
79  
80 -#undef NDEBUG
81 -#include <assert.h>
82 -
83  typedef struct DVDSubtitleContext {
84  } DVDSubtitleContext;
85  
86 Index: ../ffmpeg/libavcodec/flac.c
87 ===================================================================
88 RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/flac.c,v
89 retrieving revision 1.19
90 diff -u -r1.19 flac.c
91 --- ../ffmpeg/libavcodec/flac.c 5 Sep 2005 09:28:46 -0000       1.19
92 +++ ../ffmpeg/libavcodec/flac.c 27 Nov 2005 16:54:12 -0000
93 @@ -37,9 +37,6 @@
94  #include "bitstream.h"
95  #include "golomb.h"
96  
97 -#undef NDEBUG
98 -#include <assert.h>
99 -
100  #define MAX_CHANNELS 8
101  #define MAX_BLOCKSIZE 65535
102  #define FLAC_STREAMINFO_SIZE 34
103 Index: ../ffmpeg/libavcodec/h263.c
104 ===================================================================
105 RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/h263.c,v
106 retrieving revision 1.291
107 diff -u -r1.291 h263.c
108 --- ../ffmpeg/libavcodec/h263.c 19 Sep 2005 12:03:51 -0000      1.291
109 +++ ../ffmpeg/libavcodec/h263.c 27 Nov 2005 16:54:15 -0000
110 @@ -39,9 +39,6 @@
111  #include "h263data.h"
112  #include "mpeg4data.h"
113  
114 -//#undef NDEBUG
115 -//#include <assert.h>
116 -
117  #define INTRA_MCBPC_VLC_BITS 6
118  #define INTER_MCBPC_VLC_BITS 7
119  #define CBPY_VLC_BITS 6
120 Index: ../ffmpeg/libavcodec/h264.c
121 ===================================================================
122 RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/h264.c,v
123 retrieving revision 1.166
124 diff -u -r1.166 h264.c
125 --- ../ffmpeg/libavcodec/h264.c 10 Nov 2005 04:40:49 -0000      1.166
126 +++ ../ffmpeg/libavcodec/h264.c 27 Nov 2005 16:54:20 -0000
127 @@ -33,9 +33,6 @@
128  
129  #include "cabac.h"
130  
131 -#undef NDEBUG
132 -#include <assert.h>
133 -
134  #define interlaced_dct interlaced_dct_is_a_bad_name
135  #define mb_intra mb_intra_isnt_initalized_see_mb_type
136  
137 Index: ../ffmpeg/libavcodec/mdec.c
138 ===================================================================
139 RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/mdec.c,v
140 retrieving revision 1.15
141 diff -u -r1.15 mdec.c
142 --- ../ffmpeg/libavcodec/mdec.c 13 Aug 2005 21:34:24 -0000      1.15
143 +++ ../ffmpeg/libavcodec/mdec.c 27 Nov 2005 16:54:21 -0000
144 @@ -29,9 +29,6 @@
145  #include "dsputil.h"
146  #include "mpegvideo.h"
147  
148 -//#undef NDEBUG
149 -//#include <assert.h>
150 -
151  typedef struct MDECContext{
152      AVCodecContext *avctx;
153      DSPContext dsp;
154 Index: ../ffmpeg/libavcodec/mjpeg.c
155 ===================================================================
156 RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/mjpeg.c,v
157 retrieving revision 1.114
158 diff -u -r1.114 mjpeg.c
159 --- ../ffmpeg/libavcodec/mjpeg.c        18 Sep 2005 21:21:01 -0000      1.114
160 +++ ../ffmpeg/libavcodec/mjpeg.c        27 Nov 2005 16:54:22 -0000
161 @@ -28,9 +28,6 @@
162   * MJPEG encoder and decoder.
163   */
164
165 -//#define DEBUG
166 -#include <assert.h>
167 -
168  #include "avcodec.h"
169  #include "dsputil.h"
170  #include "mpegvideo.h"
171 Index: ../ffmpeg/libavcodec/motion_est.c
172 ===================================================================
173 RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/motion_est.c,v
174 retrieving revision 1.110
175 diff -u -r1.110 motion_est.c
176 --- ../ffmpeg/libavcodec/motion_est.c   26 Aug 2005 19:05:44 -0000      1.110
177 +++ ../ffmpeg/libavcodec/motion_est.c   27 Nov 2005 16:54:23 -0000
178 @@ -33,9 +33,6 @@
179  #include "dsputil.h"
180  #include "mpegvideo.h"
181  
182 -#undef NDEBUG
183 -#include <assert.h>
184 -
185  #define SQ(a) ((a)*(a))
186  
187  #define P_LEFT P[1]
188 Index: ../ffmpeg/libavcodec/mpeg12.c
189 ===================================================================
190 RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/mpeg12.c,v
191 retrieving revision 1.243
192 diff -u -r1.243 mpeg12.c
193 --- ../ffmpeg/libavcodec/mpeg12.c       20 Nov 2005 23:09:05 -0000      1.243
194 +++ ../ffmpeg/libavcodec/mpeg12.c       27 Nov 2005 16:54:25 -0000
195 @@ -30,9 +30,6 @@
196  
197  #include "mpeg12data.h"
198  
199 -//#undef NDEBUG
200 -//#include <assert.h>
201 -
202  
203  /* Start codes. */
204  #define SEQ_END_CODE           0x000001b7
205 Index: ../ffmpeg/libavcodec/mpegvideo.c
206 ===================================================================
207 RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/mpegvideo.c,v
208 retrieving revision 1.489
209 diff -u -r1.489 mpegvideo.c
210 --- ../ffmpeg/libavcodec/mpegvideo.c    5 Nov 2005 00:16:03 -0000       1.489
211 +++ ../ffmpeg/libavcodec/mpegvideo.c    27 Nov 2005 16:54:29 -0000
212 @@ -35,9 +35,6 @@
213  #include "fastmemcpy.h"
214  #endif
215  
216 -//#undef NDEBUG
217 -//#include <assert.h>
218 -
219  #ifdef CONFIG_ENCODERS
220  static void encode_picture(MpegEncContext *s, int picture_number);
221  #endif //CONFIG_ENCODERS
222 Index: ../ffmpeg/libavcodec/oggvorbis.c
223 ===================================================================
224 RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/oggvorbis.c,v
225 retrieving revision 1.24
226 diff -u -r1.24 oggvorbis.c
227 --- ../ffmpeg/libavcodec/oggvorbis.c    21 Sep 2005 23:09:16 -0000      1.24
228 +++ ../ffmpeg/libavcodec/oggvorbis.c    27 Nov 2005 16:54:29 -0000
229 @@ -8,9 +8,6 @@
230  
231  #include "avcodec.h"
232  
233 -#undef NDEBUG
234 -#include <assert.h>
235 -
236  #define OGGVORBIS_FRAME_SIZE 64
237  
238  #define BUFFER_SIZE (1024*64)
239 Index: ../ffmpeg/libavcodec/qdm2.c
240 ===================================================================
241 RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/qdm2.c,v
242 retrieving revision 1.2
243 diff -u -r1.2 qdm2.c
244 --- ../ffmpeg/libavcodec/qdm2.c 19 Oct 2005 22:27:34 -0000      1.2
245 +++ ../ffmpeg/libavcodec/qdm2.c 27 Nov 2005 16:54:31 -0000
246 @@ -46,9 +46,6 @@
247  
248  #include "qdm2data.h"
249  
250 -#undef NDEBUG
251 -#include <assert.h>
252 -
253  
254  #define SOFTCLIP_THRESHOLD 27600
255  #define HARDCLIP_THRESHOLD 35716
256 Index: ../ffmpeg/libavcodec/ratecontrol.c
257 ===================================================================
258 RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/ratecontrol.c,v
259 retrieving revision 1.49
260 diff -u -r1.49 ratecontrol.c
261 --- ../ffmpeg/libavcodec/ratecontrol.c  30 Apr 2005 21:43:57 -0000      1.49
262 +++ ../ffmpeg/libavcodec/ratecontrol.c  27 Nov 2005 16:54:32 -0000
263 @@ -27,9 +27,6 @@
264  #include "dsputil.h"
265  #include "mpegvideo.h"
266  
267 -#undef NDEBUG // allways check asserts, the speed effect is far too small to disable them
268 -#include <assert.h>
269 -
270  #ifndef M_E
271  #define M_E 2.718281828
272  #endif
273 Index: ../ffmpeg/libavcodec/shorten.c
274 ===================================================================
275 RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/shorten.c,v
276 retrieving revision 1.1
277 diff -u -r1.1 shorten.c
278 --- ../ffmpeg/libavcodec/shorten.c      26 Feb 2005 03:36:03 -0000      1.1
279 +++ ../ffmpeg/libavcodec/shorten.c      27 Nov 2005 16:54:32 -0000
280 @@ -24,7 +24,6 @@
281   *
282   */
283  
284 -#define DEBUG
285  #include <limits.h>
286  #include "avcodec.h"
287  #include "bitstream.h"
288 @@ -153,7 +152,7 @@
289              break;
290          default:
291              av_log(s->avctx, AV_LOG_ERROR, "unknown audio type");
292 -            abort();
293 +            av_abort();
294      }
295  
296      for (chan = 0; chan < s->channels; chan++)
297 Index: ../ffmpeg/libavcodec/snow.c
298 ===================================================================
299 RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/snow.c,v
300 retrieving revision 1.63
301 diff -u -r1.63 snow.c
302 --- ../ffmpeg/libavcodec/snow.c 21 Sep 2005 23:09:16 -0000      1.63
303 +++ ../ffmpeg/libavcodec/snow.c 27 Nov 2005 16:54:38 -0000
304 @@ -25,9 +25,6 @@
305  
306  #include "mpegvideo.h"
307  
308 -#undef NDEBUG
309 -#include <assert.h>
310 -
311  #define MAX_DECOMPOSITIONS 8
312  #define MAX_PLANES 4
313  #define DWTELEM int
314 Index: ../ffmpeg/libavcodec/svq1.c
315 ===================================================================
316 RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/svq1.c,v
317 retrieving revision 1.58
318 diff -u -r1.58 svq1.c
319 --- ../ffmpeg/libavcodec/svq1.c 5 Sep 2005 10:26:10 -0000       1.58
320 +++ ../ffmpeg/libavcodec/svq1.c 27 Nov 2005 16:54:38 -0000
321 @@ -45,9 +45,6 @@
322  #include "mpegvideo.h"
323  #include "bswap.h"
324  
325 -#undef NDEBUG
326 -#include <assert.h>
327 -
328  extern const uint8_t mvtab[33][2];
329  
330  static VLC svq1_block_type;
331 Index: ../ffmpeg/libavcodec/vc9.c
332 ===================================================================
333 RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/vc9.c,v
334 retrieving revision 1.24
335 diff -u -r1.24 vc9.c
336 --- ../ffmpeg/libavcodec/vc9.c  21 Sep 2005 23:09:16 -0000      1.24
337 +++ ../ffmpeg/libavcodec/vc9.c  27 Nov 2005 16:54:38 -0000
338 @@ -33,9 +33,6 @@
339  #include "mpegvideo.h"
340  #include "vc9data.h"
341  
342 -#undef NDEBUG
343 -#include <assert.h>
344 -
345  extern const uint32_t ff_table0_dc_lum[120][2], ff_table1_dc_lum[120][2];
346  extern const uint32_t ff_table0_dc_chroma[120][2], ff_table1_dc_chroma[120][2];
347  extern VLC ff_msmp4_dc_luma_vlc[2], ff_msmp4_dc_chroma_vlc[2];
348 Index: ../ffmpeg/libavcodec/vcr1.c
349 ===================================================================
350 RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/vcr1.c,v
351 retrieving revision 1.8
352 diff -u -r1.8 vcr1.c
353 --- ../ffmpeg/libavcodec/vcr1.c 24 Feb 2005 19:08:50 -0000      1.8
354 +++ ../ffmpeg/libavcodec/vcr1.c 27 Nov 2005 16:54:38 -0000
355 @@ -25,9 +25,6 @@
356  #include "avcodec.h"
357  #include "mpegvideo.h"
358  
359 -//#undef NDEBUG
360 -//#include <assert.h>
361 -
362  typedef struct VCR1Context{
363      AVCodecContext *avctx;
364      AVFrame picture;
365 Index: ../ffmpeg/libavcodec/vorbis.c
366 ===================================================================
367 RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/vorbis.c,v
368 retrieving revision 1.11
369 diff -u -r1.11 vorbis.c
370 --- ../ffmpeg/libavcodec/vorbis.c       30 May 2005 22:02:00 -0000      1.11
371 +++ ../ffmpeg/libavcodec/vorbis.c       27 Nov 2005 16:54:44 -0000
372 @@ -38,9 +38,6 @@
373  #define AV_DEBUG(...)
374  #endif
375  
376 -#undef NDEBUG
377 -#include <assert.h>
378 -
379  /* Helper functions */
380  
381  /**
382 Index: ../ffmpeg/libavcodec/xvmcvideo.c
383 ===================================================================
384 RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/xvmcvideo.c,v
385 retrieving revision 1.11
386 diff -u -r1.11 xvmcvideo.c
387 --- ../ffmpeg/libavcodec/xvmcvideo.c    24 Apr 2005 17:21:10 -0000      1.11
388 +++ ../ffmpeg/libavcodec/xvmcvideo.c    27 Nov 2005 16:54:44 -0000
389 @@ -24,9 +24,6 @@
390  #include "dsputil.h"
391  #include "mpegvideo.h"
392  
393 -#undef NDEBUG
394 -#include <assert.h>
395 -
396  #ifdef USE_FASTMEMCPY
397  #include "fastmemcpy.h"
398  #endif
399 Index: ../ffmpeg/libavformat/Makefile
400 ===================================================================
401 RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/Makefile,v
402 retrieving revision 1.102
403 retrieving revision 1.111
404 diff -u -r1.111 Makefile
405 --- Makefile    26 Jan 2006 23:42:29 -0000      1.111
406 +++ Makefile    28 Jan 2006 21:44:10 -0000
407 @@ -12,8 +12,8 @@
408  PPOBJS=
409   
410  # demuxers
411 -OBJS+=mpeg.o mpegts.o mpegtsenc.o ffm.o crc.o img.o img2.o raw.o rm.o \
412 -      avienc.o avidec.o wav.o mmf.o swf.o au.o gif.o mov.o mpjpeg.o dv.o \
413 +OBJS+=mpeg.o mpegts.o ffm.o img.o img2.o raw.o rm.o \
414 +      avidec.o wav.o mmf.o swf.o au.o gif.o mov.o mpjpeg.o dv.o \
415        yuv4mpeg.o 4xm.o flvdec.o psxstr.o idroq.o ipmovie.o \
416        nut.o wc3movie.o mp3.o westwood.o segafilm.o idcin.o flic.o \
417        sierravmd.o matroska.o sol.o electronicarts.o nsvdec.o asf.o \
418 @@ -21,7 +21,7 @@
419  
420  # muxers
421  ifeq ($(CONFIG_MUXERS),yes)
422 -OBJS+= flvenc.o movenc.o asf-enc.o adtsenc.o
423 +OBJS+= mpegtsenc.o crc.o avienc.o flvenc.o movenc.o asf-enc.o adtsenc.o
424  endif
425
426
427 @@ -67,6 +67,10 @@
428  PPOBJS+= beosaudio.o
429  endif
430
431 +ifeq ($(CONFIG_FFSERVER),yes)
432 +OBJS+=ffm.o
433 +endif
434 +
435  # protocols I/O
436  OBJS+= avio.o aviobuf.o
437
438 Index: ../ffmpeg/libavformat/allformats.c
439 ===================================================================
440 RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/allformats.c,v
441 retrieving revision 1.53
442 diff -u -r1.53 allformats.c
443 --- allformats.c        21 Jan 2006 18:36:32 -0000      1.53
444 +++ allformats.c        28 Jan 2006 21:57:13 -0000
445 @@ -88,7 +88,10 @@
446      libogg_init();
447  #endif
448
449 +#if defined(CONFIG_FFSERVER)
450      ffm_init();
451 +#endif
452 +    
453  #if defined(CONFIG_VIDEO4LINUX2)
454      v4l2_init();
455  #endif
456 Index: ../ffmpeg/libavformat/asf-enc.c
457 ===================================================================
458 RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/asf-enc.c,v
459 retrieving revision 1.73
460 diff -u -r1.73 asf-enc.c
461 --- ../ffmpeg/libavformat/asf-enc.c     23 Sep 2005 00:25:41 -0000      1.73
462 +++ ../ffmpeg/libavformat/asf-enc.c     27 Nov 2005 16:54:47 -0000
463 @@ -20,9 +20,6 @@
464  #include "avi.h"
465  #include "asf.h"
466  
467 -#undef NDEBUG
468 -#include <assert.h>
469 -
470  #ifdef CONFIG_MUXERS
471  
472  
473 Index: ../ffmpeg/libavformat/asf.c
474 ===================================================================
475 RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/asf.c,v
476 retrieving revision 1.86
477 diff -u -r1.86 asf.c
478 --- ../ffmpeg/libavformat/asf.c 26 Oct 2005 12:15:09 -0000      1.86
479 +++ ../ffmpeg/libavformat/asf.c 27 Nov 2005 16:54:50 -0000
480 @@ -21,9 +21,6 @@
481  #include "mpegaudio.h"
482  #include "asf.h"
483  
484 -#undef NDEBUG
485 -#include <assert.h>
486 -
487  #define FRAME_HEADER_SIZE 17
488  // Fix Me! FRAME_HEADER_SIZE may be different. 
489  
490 Index: ../ffmpeg/libavformat/avidec.c
491 ===================================================================
492 RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/avidec.c,v
493 retrieving revision 1.76
494 diff -u -r1.76 avidec.c
495 --- ../ffmpeg/libavformat/avidec.c      6 Sep 2005 21:25:35 -0000       1.76
496 +++ ../ffmpeg/libavformat/avidec.c      27 Nov 2005 16:54:50 -0000
497 @@ -20,9 +20,6 @@
498  #include "avi.h"
499  :q
500  #include "dv.h"
501  
502 -#undef NDEBUG
503 -#include <assert.h>
504 -
505  //#define DEBUG
506  //#define DEBUG_SEEK
507  
508 Index: ../ffmpeg/libavformat/flvenc.c
509 ===================================================================
510 RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/flvenc.c,v
511 retrieving revision 1.19
512 diff -u -r1.19 flvenc.c
513 --- ../ffmpeg/libavformat/flvenc.c      12 Nov 2005 20:01:23 -0000      1.19
514 +++ ../ffmpeg/libavformat/flvenc.c      27 Nov 2005 16:54:50 -0000
515 @@ -18,9 +18,6 @@
516   */
517  #include "avformat.h"
518  
519 -#undef NDEBUG
520 -#include <assert.h>
521 -
522  typedef struct FLVContext {
523      int hasAudio;
524      int hasVideo;
525 Index: ../ffmpeg/libavformat/movenc.c
526 ===================================================================
527 RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/movenc.c,v
528 retrieving revision 1.44
529 diff -u -r1.44 movenc.c
530 --- ../ffmpeg/libavformat/movenc.c      6 Sep 2005 21:25:35 -0000       1.44
531 +++ ../ffmpeg/libavformat/movenc.c      27 Nov 2005 16:54:56 -0000
532 @@ -21,9 +21,6 @@
533  #include "avi.h"
534  #include "avio.h"
535  
536 -#undef NDEBUG
537 -#include <assert.h>
538 -
539  #define MOV_INDEX_CLUSTER_SIZE 16384
540  #define globalTimescale 1000
541  
542 Index: ../ffmpeg/libavformat/mpeg.c
543 ===================================================================
544 RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/mpeg.c,v
545 retrieving revision 1.89
546 diff -u -r1.89 mpeg.c
547 --- ../ffmpeg/libavformat/mpeg.c        23 Sep 2005 00:25:41 -0000      1.89
548 +++ ../ffmpeg/libavformat/mpeg.c        27 Nov 2005 16:54:58 -0000
549 @@ -22,9 +22,6 @@
550  #define MAX_PAYLOAD_SIZE 4096
551  //#define DEBUG_SEEK
552  
553 -#undef NDEBUG
554 -#include <assert.h>
555 -
556  typedef struct PacketDesc {
557      int64_t pts;
558      int64_t dts;
559 Index: ../ffmpeg/libavformat/nut.c
560 ===================================================================
561 RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/nut.c,v
562 retrieving revision 1.56
563 diff -u -r1.56 nut.c
564 --- ../ffmpeg/libavformat/nut.c 23 Sep 2005 00:25:41 -0000      1.56
565 +++ ../ffmpeg/libavformat/nut.c 27 Nov 2005 16:55:00 -0000
566 @@ -35,9 +35,6 @@
567  #include "mpegaudio.h"
568  #include "avi.h"
569  
570 -#undef NDEBUG
571 -#include <assert.h>
572 -
573  //#define TRACE
574  
575  //from /dev/random
576 Index: ../ffmpeg/libavformat/ogg.c
577 ===================================================================
578 RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/ogg.c,v
579 retrieving revision 1.26
580 diff -u -r1.26 ogg.c
581 --- ../ffmpeg/libavformat/ogg.c 23 Sep 2005 00:25:41 -0000      1.26
582 +++ ../ffmpeg/libavformat/ogg.c 27 Nov 2005 16:55:00 -0000
583 @@ -12,9 +12,6 @@
584  
585  #include "avformat.h"
586  
587 -#undef NDEBUG
588 -#include <assert.h>
589 -
590  #define DECODER_BUFFER_SIZE 4096
591  
592  
593 Index: ../ffmpeg/libavformat/swf.c
594 ===================================================================
595 RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/swf.c,v
596 retrieving revision 1.29
597 diff -u -r1.29 swf.c
598 --- ../ffmpeg/libavformat/swf.c 23 Sep 2005 00:25:41 -0000      1.29
599 +++ ../ffmpeg/libavformat/swf.c 27 Nov 2005 16:55:00 -0000
600 @@ -54,9 +54,6 @@
601  #define VIDEO_ID 0
602  #define SHAPE_ID  1
603  
604 -#undef NDEBUG
605 -#include <assert.h>
606 -
607  typedef struct {
608  
609      offset_t duration_pos;
610 Index: ../ffmpeg/libavformat/utils.c
611 ===================================================================
612 RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/utils.c,v
613 retrieving revision 1.168
614 diff -u -r1.168 utils.c
615 --- ../ffmpeg/libavformat/utils.c       4 Nov 2005 23:50:11 -0000       1.168
616 +++ ../ffmpeg/libavformat/utils.c       27 Nov 2005 16:55:02 -0000
617 @@ -18,9 +18,6 @@
618   */
619  #include "avformat.h"
620  
621 -#undef NDEBUG
622 -#include <assert.h>
623 -
624  /**
625   * @file libavformat/utils.c
626   * Various utility functions for using ffmpeg library.