Changeset 23d1d36b83c4b88c57ea321bbae61394e62956d9
- Timestamp:
- 06/27/08 17:43:15
(2 months ago)
- Author:
- Rémi Denis-Courmont <rdenis@simphalempin.com>
- git-committer:
- Rémi Denis-Courmont <rdenis@simphalempin.com> 1214581395 +0300
- git-parent:
[c71ebdc51d377eb489b8e53d749d722d6fd4e563]
- git-author:
- Rémi Denis-Courmont <rdenis@simphalempin.com> 1214581395 +0300
- Message:
Check some invalid uses of pl_Yield()
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| ra3e989d |
r23d1d36 |
|
| 45 | 45 | { |
|---|
| 46 | 46 | playlist_t *pl = libvlc_priv (p_this->p_libvlc)->p_playlist; |
|---|
| | 47 | /* Objects that are destroyed _after_ the playlist cannot use pl_Yield() */ |
|---|
| | 48 | assert (p_this->i_object_type != VLC_OBJECT_VOUT); |
|---|
| | 49 | assert (p_this->i_object_type != VLC_OBJECT_ANNOUNCE); |
|---|
| | 50 | assert ((void *)p_this != libvlc_priv (p_this->p_libvlc)->p_interaction); |
|---|
| | 51 | |
|---|
| 47 | 52 | assert( pl != NULL ); |
|---|
| 48 | 53 | vlc_object_yield( pl ); |
|---|