Changeset 6bfea2fcd003b1999217e4de9f3483e17f04b049
- Timestamp:
- 04/08/06 00:24:42
(2 years ago)
- Author:
- Clément Stenac <zorglub@videolan.org>
- git-committer:
- Clément Stenac <zorglub@videolan.org> 1154643882 +0000
- git-parent:
[4ecc5ff7e39aa6601c2d0e643ad737b5189b89c2]
- git-author:
- Clément Stenac <zorglub@videolan.org> 1154643882 +0000
- Message:
This dichotomy code apparently still is buggy. Todo: redo it
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r75d4dcb |
r6bfea2f |
|
| 77 | 77 | VLC_OBJECT_PLAYLIST, FIND_ANYWHERE ); |
|---|
| 78 | 78 | |
|---|
| 79 | | |
|---|
| 80 | 79 | vlc_input_item_Clean( p_input ); |
|---|
| 81 | 80 | |
|---|
| 82 | 81 | if( p_playlist ) |
|---|
| 83 | 82 | { |
|---|
| | 83 | #if 0 |
|---|
| 84 | 84 | i_bottom = 0; i_top = p_playlist->i_input_items - 1; |
|---|
| 85 | 85 | i = i_top / 2; |
|---|
| … | … | |
| 99 | 99 | REMOVE_ELEM( p_playlist->pp_input_items, |
|---|
| 100 | 100 | p_playlist->i_input_items, i ); |
|---|
| | 101 | } |
|---|
| | 102 | #endif |
|---|
| | 103 | for( i = 0 ; i< p_playlist->pp_input_items[i] ; i++ ) |
|---|
| | 104 | { |
|---|
| | 105 | if( p_playlist->pp_input_items[i]->i_id == p_input->i_id ) |
|---|
| | 106 | { |
|---|
| | 107 | REMOVE_ELEM( p_playlist->pp_input_items, |
|---|
| | 108 | p_playlist->i_input_items, i ); |
|---|
| | 109 | break; |
|---|
| | 110 | } |
|---|
| 101 | 111 | } |
|---|
| 102 | 112 | vlc_object_release( p_playlist ); |
|---|