Changeset b321beb4ac88fb3d032b0f0132a8ce7348b52f89

Show
Ignore:
Timestamp:
03/19/08 19:52:05 (5 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1205952725 +0200
git-parent:

[484c93112f2827cf242c6f4807f7f48f28be6aa9]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1205952725 +0200
Message:

Use NDEBUG

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/access/http.c

    r9630c00 rb321beb  
    333333                goto error; 
    334334 
    335 #ifdef DEBUG 
     335#ifndef NDEBUG 
    336336        case 0: 
    337337            break; 
  • modules/audio_output/sdl.c

    rc35ce64 rb321beb  
    9595    i_flags |= SDL_INIT_EVENTTHREAD; 
    9696#endif 
    97 #ifdef DEBUG 
     97#ifndef NDEBUG 
    9898    /* In debug mode you may want vlc to dump a core instead of staying 
    9999     * stuck */ 
  • modules/gui/macosx/playlist.m

    r0e86a35 rb321beb  
    13851385    [o_outline_dict setObject:o_value forKey:[NSString stringWithFormat:@"%p", 
    13861386                                                    [o_value pointerValue]]]; 
    1387 #ifdef DEBUG 
     1387#ifndef NDEBUG 
    13881388    msg_Dbg( VLCIntf, "adding item %p", [o_value pointerValue] ); 
    13891389#endif 
  • modules/mux/mpeg/pes.c

    r99fab90 rb321beb  
    274274    *pp_pes = p_pes = NULL; 
    275275 
    276 #ifdef DEBUG 
     276#ifndef NDEBUG 
    277277    memset( header, 0, 50 ); 
    278278#endif 
  • modules/video_output/sdl.c

    r99fab90 rb321beb  
    199199                | SDL_INIT_EVENTTHREAD 
    200200#endif 
    201 #ifdef DEBUG 
     201#ifndef NDEBUG 
    202202    /* In debug mode you may want vlc to dump a core instead of staying 
    203203     * stuck */ 
  • src/video_output/vout_pictures.c

    rba7e4ce rb321beb  
    218218    vlc_mutex_lock( &p_vout->picture_lock ); 
    219219 
    220 #ifdef DEBUG 
     220#ifndef NDEBUG 
    221221    /* Check if picture status is valid */ 
    222222    if( (p_pic->i_status != RESERVED_PICTURE) && 
  • src/vlc.c

    rc8ba07f rb321beb  
    9393 
    9494#ifdef HAVE_PUTENV 
    95 #   ifdef DEBUG 
     95#   ifndef NDEBUG 
    9696    /* Activate malloc checking routines to detect heap corruptions. */ 
    9797    putenv( (char*)"MALLOC_CHECK_=2" );