On Tue, Mar 31, 2009 at 8:40 AM, Rémi Duraffort <ivoire at videolan.org> wrote: > Hi, > > I'm not sure that's a good idea to PL_UNLOCK and then use > pl_priv(p_playlist)->pp_sds[i] > > > Best regards. So, should I lock the playlist outside the function, or save the result and return it after unlocking?