Skip to content

Commit f2a438d

Browse files
committed
preparser: fix playlist_preparser_Cancel loop
This may need a test finally...
1 parent 8de131a commit f2a438d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/playlist/preparser.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ void playlist_preparser_Cancel( playlist_preparser_t *p_preparser, void *id )
135135
vlc_mutex_lock( &p_preparser->lock );
136136

137137
/* Remove entries that match with the id */
138-
for( int i = p_preparser->i_waiting - 1; i >= 0; ++i )
138+
for( int i = p_preparser->i_waiting - 1; i >= 0; --i )
139139
{
140140
preparser_entry_t *p_entry = p_preparser->pp_waiting[i];
141141
if( p_entry->id == id )

0 commit comments

Comments
 (0)