Changeset b321beb4ac88fb3d032b0f0132a8ce7348b52f89
- 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
| r9630c00 |
rb321beb |
|
| 333 | 333 | goto error; |
|---|
| 334 | 334 | |
|---|
| 335 | | #ifdef DEBUG |
|---|
| | 335 | #ifndef NDEBUG |
|---|
| 336 | 336 | case 0: |
|---|
| 337 | 337 | break; |
|---|
| rc35ce64 |
rb321beb |
|
| 95 | 95 | i_flags |= SDL_INIT_EVENTTHREAD; |
|---|
| 96 | 96 | #endif |
|---|
| 97 | | #ifdef DEBUG |
|---|
| | 97 | #ifndef NDEBUG |
|---|
| 98 | 98 | /* In debug mode you may want vlc to dump a core instead of staying |
|---|
| 99 | 99 | * stuck */ |
|---|
| r0e86a35 |
rb321beb |
|
| 1385 | 1385 | [o_outline_dict setObject:o_value forKey:[NSString stringWithFormat:@"%p", |
|---|
| 1386 | 1386 | [o_value pointerValue]]]; |
|---|
| 1387 | | #ifdef DEBUG |
|---|
| | 1387 | #ifndef NDEBUG |
|---|
| 1388 | 1388 | msg_Dbg( VLCIntf, "adding item %p", [o_value pointerValue] ); |
|---|
| 1389 | 1389 | #endif |
|---|
| r99fab90 |
rb321beb |
|
| 274 | 274 | *pp_pes = p_pes = NULL; |
|---|
| 275 | 275 | |
|---|
| 276 | | #ifdef DEBUG |
|---|
| | 276 | #ifndef NDEBUG |
|---|
| 277 | 277 | memset( header, 0, 50 ); |
|---|
| 278 | 278 | #endif |
|---|
| r99fab90 |
rb321beb |
|
| 199 | 199 | | SDL_INIT_EVENTTHREAD |
|---|
| 200 | 200 | #endif |
|---|
| 201 | | #ifdef DEBUG |
|---|
| | 201 | #ifndef NDEBUG |
|---|
| 202 | 202 | /* In debug mode you may want vlc to dump a core instead of staying |
|---|
| 203 | 203 | * stuck */ |
|---|
| rba7e4ce |
rb321beb |
|
| 218 | 218 | vlc_mutex_lock( &p_vout->picture_lock ); |
|---|
| 219 | 219 | |
|---|
| 220 | | #ifdef DEBUG |
|---|
| | 220 | #ifndef NDEBUG |
|---|
| 221 | 221 | /* Check if picture status is valid */ |
|---|
| 222 | 222 | if( (p_pic->i_status != RESERVED_PICTURE) && |
|---|
| rc8ba07f |
rb321beb |
|
| 93 | 93 | |
|---|
| 94 | 94 | #ifdef HAVE_PUTENV |
|---|
| 95 | | # ifdef DEBUG |
|---|
| | 95 | # ifndef NDEBUG |
|---|
| 96 | 96 | /* Activate malloc checking routines to detect heap corruptions. */ |
|---|
| 97 | 97 | putenv( (char*)"MALLOC_CHECK_=2" ); |
|---|