Changeset 5adf43c6b1c5755f6fd29aa89cade21ab8802b53
- Timestamp:
- 16/09/06 23:00:15
(2 years ago)
- Author:
- Clément Stenac <zorglub@videolan.org>
- git-committer:
- Clément Stenac <zorglub@videolan.org> 1158440415 +0000
- git-parent:
[e12ddbf298a8be3e880012728b2d95fa23821312]
- git-author:
- Clément Stenac <zorglub@videolan.org> 1158440415 +0000
- Message:
Fix crash
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| raba3de3 |
r5adf43c |
|
| 359 | 359 | if( p_playlist->request.b_request ) |
|---|
| 360 | 360 | { |
|---|
| 361 | | PL_DEBUG( "processing request node %s item %s skip %i", |
|---|
| | 361 | PL_DEBUG( "processing request item %s node %s skip %i", |
|---|
| 362 | 362 | PLI_NAME( p_playlist->request.p_item ), |
|---|
| 363 | 363 | PLI_NAME( p_playlist->request.p_node ), i_skip ); |
|---|
| r4e5e7e2 |
r5adf43c |
|
| 664 | 664 | if( i-1 < 0 ) |
|---|
| 665 | 665 | { |
|---|
| 666 | | /* Was already the first sibling. Look for uncles */ |
|---|
| 667 | | PL_DEBUG( "Current item is the first of the node," |
|---|
| | 666 | /* Was already the first sibling. Look for uncles */ |
|---|
| | 667 | PL_DEBUG( "current item is the first of its node," |
|---|
| 668 | 668 | "looking for uncle from %s", |
|---|
| 669 | 669 | p_parent->p_input->psz_name ); |
|---|
| | 670 | if( p_parent == p_root ) |
|---|
| | 671 | { |
|---|
| | 672 | PL_DEBUG( "already at root" ); |
|---|
| | 673 | return NULL; |
|---|
| | 674 | } |
|---|
| 670 | 675 | return GetPrevUncle( p_playlist, p_item, p_root ); |
|---|
| 671 | 676 | } |
|---|