Commit eb2ce4e9 authored by Carola's avatar Carola
Browse files

VLCNetworkServerBrowserFTP: fix order in medialist

(cherry picked from commit 44f32f2a)
parent b6053879
......@@ -80,9 +80,8 @@
{
VLCMediaList *mediaList = [[VLCMediaList alloc] init];
@synchronized(_items) {
NSUInteger count = _items.count;
for (NSInteger i = count - 1; i >= 0; i--) {
VLCMedia *media = [_items[i] media];
for (id<VLCNetworkServerBrowserItem> browseritem in _items) {
VLCMedia *media = [browseritem media];
if (media)
[mediaList addMedia:media];
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment