Commit 44f32f2a authored by Carola Nitz's avatar Carola Nitz

VLCNetworkServerBrowserFTP: fix order in medialist

parent 94856d02
......@@ -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];
}
......
Markdown is supported
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