Changeset d6a720cb351211eb36303f18340a9889223f6f7e
- Timestamp:
- 09/18/05 14:58:25
(3 years ago)
- Author:
- Steve Lhomme <robux@videolan.org>
- git-committer:
- Steve Lhomme <robux@videolan.org> 1127048305 +0000
- git-parent:
[95024e063319e039b91a81bf8feec736b1bac9c4]
- git-author:
- Steve Lhomme <robux@videolan.org> 1127048305 +0000
- Message:
misc possible buffer/resource misuse & tidy compilation
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rfab9512 |
rd6a720c |
|
| 34 | 34 | |
|---|
| 35 | 35 | /* ffmpeg header */ |
|---|
| 36 | | #define HAVE_MMX |
|---|
| | 36 | #define HAVE_MMX 1 |
|---|
| 37 | 37 | #ifdef HAVE_FFMPEG_AVCODEC_H |
|---|
| 38 | 38 | # include <ffmpeg/avcodec.h> |
|---|
| rb5a2c69 |
rd6a720c |
|
| 30 | 30 | |
|---|
| 31 | 31 | /* ffmpeg header */ |
|---|
| 32 | | #define HAVE_MMX |
|---|
| | 32 | #define HAVE_MMX 1 |
|---|
| 33 | 33 | #ifdef HAVE_FFMPEG_AVCODEC_H |
|---|
| 34 | 34 | # include <ffmpeg/avcodec.h> |
|---|
| … | … | |
| 361 | 361 | psz_new_format = malloc( strlen(psz_format) + strlen(psz_item_name) |
|---|
| 362 | 362 | + 18 + 5 ); |
|---|
| 363 | | sprintf( psz_new_format, "%s (%s@%p)", psz_format, |
|---|
| 364 | | p_avc->item_name(p_opaque), p_opaque ); |
|---|
| | 363 | snprintf( psz_new_format, strlen(psz_format) + strlen(psz_item_name) |
|---|
| | 364 | + 18 + 5, "%s (%s@%p)", psz_format, p_avc->item_name(p_opaque), p_opaque ); |
|---|
| 365 | 365 | msg_GenericVa( p_this, i_vlc_level, MODULE_STRING, psz_new_format, va ); |
|---|
| 366 | 366 | free( psz_new_format ); |
|---|
| rfe087a3 |
rd6a720c |
|
| 484 | 484 | || !CloseHandle( p_condvar->semaphore ); |
|---|
| 485 | 485 | |
|---|
| | 486 | if( p_condvar->semaphore != NULL ) |
|---|
| | 487 | DeleteCriticalSection( &p_condvar->csection ); |
|---|
| | 488 | |
|---|
| 486 | 489 | #elif defined( HAVE_KERNEL_SCHEDULER_H ) |
|---|
| 487 | 490 | p_condvar->init = 0; |
|---|
| r28563cf |
rd6a720c |
|
| 302 | 302 | p_item->pp_parents = NULL; |
|---|
| 303 | 303 | p_item->i_parents = 0; |
|---|
| | 304 | p_item->i_serial = 0; |
|---|
| 304 | 305 | |
|---|
| 305 | 306 | p_item->i_flags |= PLAYLIST_SKIP_FLAG; /* Default behaviour */ |
|---|