
Romain Vimont
authored
Allocating the pp_items array required to know the number of items in advance. To do so, the mtp module hijacked the progression callback to know the number of items on listing (which was called once for each item, but in the end the total value was correct). This callback function accepts a "userdata" having type `void const *`, so it not intended to write to it, but it still worked without ugly cast due to an additional redirection (p_sys). To prepare further refactors (multi-device support), remove this callback hack and use a vlc_vector to append items on-the-fly.
Name | Last commit | Last update |
---|---|---|
.. | ||
Makefile.am | ||
avahi.c | ||
bonjour.m | ||
microdns.c | ||
mtp.c | ||
os2drive.c | ||
podcast.c | ||
pulse.c | ||
sap.c | ||
udev.c | ||
upnp-wrapper.cpp | ||
upnp-wrapper.hpp | ||
upnp.cpp | ||
upnp.hpp | ||
windrive.c | ||
xcb_apps.c |