[vlc-devel] commit: podcast: implement "live" podcast item removal (Jakob Leben )

Jakob Leben jakob.leben at gmail.com
Mon Nov 2 15:51:42 CET 2009

On Mon, Nov 2, 2009 at 3:43 PM, Rémi Duraffort <ivoire at videolan.org> wrote:
> If the variable "podcast-urls" is "" (an empty but non-null string) the
> return value of var_GetNonEmptyString will be NULL => segv.
> In this case, the best way is to do:

char psz_urls = var_GetString( p_sd, "podcast-urls" );
> if( psz_urls )
>     ParseUrls( p_sd, psz_urls );
> free( psz_urls );
I just moved the check if( psz_urls ) into ParseUrls, it still exists.

> Moreover, I now get a crash when launching the podcast SD:

That's strange, it works for me. I'll check that out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20091102/fd2b7994/attachment.html>

More information about the vlc-devel mailing list