Ticket #717: ndebug.diff

File ndebug.diff, 8.6 KB (added by codon1@…, 20 years ago)

remove #undef ndebug

  • ffmpeg.c

     
    4949#include "version.h"
    5050#include "cmdutils.h"
    5151
    52 #undef NDEBUG
    5352#include <assert.h>
    5453
    5554#if !defined(INFINITY) && defined(HUGE_VAL)
  • libavcodec/dvdsubenc.c

     
    1919 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
    2020 */
    2121#include "avcodec.h"
    22 
    23 #undef NDEBUG
    2422#include <assert.h>
    2523
    2624// ncnt is the nibble counter
  • libavcodec/flac.c

     
    4040#include "bitstream.h"
    4141#include "golomb.h"
    4242#include "crc.h"
    43 
    44 #undef NDEBUG
    4543#include <assert.h>
    4644
    4745#define MAX_CHANNELS 8
  • libavcodec/motion_est.c

     
    3434#include "avcodec.h"
    3535#include "dsputil.h"
    3636#include "mpegvideo.h"
    37 
    38 #undef NDEBUG
    3937#include <assert.h>
    4038
    4139#define SQ(a) ((a)*(a))
  • libavcodec/oggvorbis.c

     
    2727#include <vorbis/vorbisenc.h>
    2828
    2929#include "avcodec.h"
    30 
    31 #undef NDEBUG
    3230#include <assert.h>
    3331
    3432#define OGGVORBIS_FRAME_SIZE 64
  • libavcodec/ppc/snow_altivec.c

     
    2727#include "dsputil_altivec.h"
    2828#include "../snow.h"
    2929
    30 #undef NDEBUG
    3130#include <assert.h>
    3231
    3332
  • libavcodec/qdm2.c

     
    4747#include "mpegaudio.h"
    4848
    4949#include "qdm2data.h"
    50 
    51 #undef NDEBUG
    5250#include <assert.h>
    5351
    5452
  • libavcodec/ratecontrol.c

     
    3030#include "ratecontrol.h"
    3131#include "mpegvideo.h"
    3232#include "eval.h"
    33 
    34 #undef NDEBUG // allways check asserts, the speed effect is far too small to disable them
    3533#include <assert.h>
    3634
    3735#ifndef M_E
  • libavcodec/snow.c

     
    2626#include "rangecoder.h"
    2727
    2828#include "mpegvideo.h"
    29 
    30 #undef NDEBUG
    3129#include <assert.h>
    3230
    3331static const int8_t quant3[256]={
  • libavcodec/svq1.c

     
    4646#include "dsputil.h"
    4747#include "mpegvideo.h"
    4848#include "bswap.h"
    49 
    50 #undef NDEBUG
    5149#include <assert.h>
    5250
    5351extern const uint8_t mvtab[33][2];
  • libavcodec/vc1.c

     
    3232#include "mpegvideo.h"
    3333#include "vc1data.h"
    3434#include "vc1acdata.h"
    35 
    36 #undef NDEBUG
    3735#include <assert.h>
    3836
    3937extern const uint32_t ff_table0_dc_lum[120][2], ff_table1_dc_lum[120][2];
  • libavcodec/vorbis.c

     
    4242#define AV_DEBUG(...)
    4343#endif
    4444
    45 #undef NDEBUG
    4645#include <assert.h>
    4746
    4847typedef struct {
  • libavcodec/vorbis_enc.c

     
    2929#include "dsputil.h"
    3030#include "vorbis.h"
    3131#include "vorbis_enc_data.h"
    32 
    33 #undef NDEBUG
    3432#include <assert.h>
    3533
    3634typedef struct {
  • libavcodec/xvid_rc.c

     
    2626#include "xvid_internal.h"
    2727//#include "dsputil.h"
    2828#include "mpegvideo.h"
    29 
    30 #undef NDEBUG
    3129#include <assert.h>
    3230
    3331extern unsigned int xvid_debug;
  • libavcodec/xvmcvideo.c

     
    2525#include "avcodec.h"
    2626#include "dsputil.h"
    2727#include "mpegvideo.h"
    28 
    29 #undef NDEBUG
    3028#include <assert.h>
    3129
    3230#ifdef USE_FASTMEMCPY
  • libavformat/asf-enc.c

     
    2121#include "avformat.h"
    2222#include "riff.h"
    2323#include "asf.h"
    24 
    25 #undef NDEBUG
    2624#include <assert.h>
    2725
    2826
  • libavformat/asf.c

     
    2323#include "mpegaudio.h"
    2424#include "asf.h"
    2525#include "common.h"
    26 
    27 #undef NDEBUG
    2826#include <assert.h>
    2927
    3028#define FRAME_HEADER_SIZE 17
  • libavformat/avidec.c

     
    2222#include "avi.h"
    2323#include "dv.h"
    2424#include "riff.h"
    25 
    26 #undef NDEBUG
    2725#include <assert.h>
    2826
    2927//#define DEBUG
  • libavformat/flvenc.c

     
    2121#include "avformat.h"
    2222#include "flv.h"
    2323#include "riff.h"
    24 
    25 #undef NDEBUG
    2624#include <assert.h>
    2725
    2826static const CodecTag flv_video_codec_ids[] = {
  • libavformat/mov.c

     
    6161 */
    6262
    6363#include "qtpalette.h"
    64 
    65 
    66 #undef NDEBUG
    6764#include <assert.h>
    6865
    6966static const CodecTag mov_video_tags[] = {
  • libavformat/movenc.c

     
    2323#include "riff.h"
    2424#include "avio.h"
    2525#include "isom.h"
    26 
    27 #undef NDEBUG
    2826#include <assert.h>
    2927
    3028#define MOV_INDEX_CLUSTER_SIZE 16384
  • libavformat/mpeg.c

     
    2525#define MAX_PAYLOAD_SIZE 4096
    2626//#define DEBUG_SEEK
    2727
    28 #undef NDEBUG
    2928#include <assert.h>
    3029
    3130typedef struct PacketDesc {
  • libavformat/nut.c

     
    3737#include "mpegaudio.h"
    3838#include "riff.h"
    3939#include "adler32.h"
    40 
    41 #undef NDEBUG
    4240#include <assert.h>
    4341
    4442//#define TRACE
  • libavformat/nutdec.c

     
    2323
    2424#include "tree.h"
    2525#include "nut.h"
    26 
    27 #undef NDEBUG
    2826#include <assert.h>
    2927
    3028static uint64_t get_v(ByteIOContext *bc){
  • libavformat/ogg.c

     
    2828
    2929#include "avformat.h"
    3030
    31 #undef NDEBUG
    3231#include <assert.h>
    3332
    3433#define DECODER_BUFFER_SIZE 4096
  • libavformat/swf.c

     
    5555#define VIDEO_ID 0
    5656#define SHAPE_ID  1
    5757
    58 #undef NDEBUG
    5958#include <assert.h>
    6059
    6160typedef struct {
  • libavformat/utils.c

     
    2121#include "avformat.h"
    2222#include "allformats.h"
    2323#include "opt.h"
    24 
    25 #undef NDEBUG
    2624#include <assert.h>
    2725
    2826/**