Changeset 10b3d6f1a239ec17c16cdfca13b4f98051591f34
- Timestamp:
- 03/16/08 19:59:47
(4 months ago)
- Author:
- Filippo Carone <littlejohn@videolan.org>
- git-committer:
- Filippo Carone <littlejohn@videolan.org> 1205693987 +0100
- git-parent:
[c6fabd0fc5bf92148dc90938bb66c0553e186f06]
- git-author:
- Filippo Carone <littlejohn@videolan.org> 1205693987 +0100
- Message:
fix for libvlc_get_input_thread: check for null before locking. fixes #1522
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rc6fabd0 |
r10b3d6f |
|
| 93 | 93 | } |
|---|
| 94 | 94 | |
|---|
| 95 | | // @Test |
|---|
| 96 | | /** |
|---|
| 97 | | * see Ticket #1522 on trac ( http://trac.videolan.org/vlc/ticket/1522 ) |
|---|
| 98 | | */ |
|---|
| | 95 | @Test |
|---|
| 99 | 96 | public void mediaListPlayerIsPlayingTest() |
|---|
| 100 | 97 | { |
|---|
| reb88f34 |
r10b3d6f |
|
| 125 | 125 | input_thread_t *p_input_thread; |
|---|
| 126 | 126 | |
|---|
| | 127 | if ( !p_mi ) |
|---|
| | 128 | { |
|---|
| | 129 | RAISENULL( "Input is NULL" ); |
|---|
| | 130 | } |
|---|
| | 131 | |
|---|
| 127 | 132 | vlc_mutex_lock( &p_mi->object_lock ); |
|---|
| 128 | 133 | |
|---|