[vlc-devel] [PATCH 5/6] m3u: Handle nested satip playlists

Francois Cartegnie fcvlcdev at free.fr
Wed Jul 20 18:19:18 CEST 2016


Le 20/07/2016 à 17:25, Felix Paul Kühne a écrit :
>  
> +            if ( p_demux->p_sys->psz_satip_device )
> +            {
> +                char* psz_ext = strrchr( psz_mrl, '.' );
> +                if ( psz_ext && !strcasecmp( psz_ext, ".m3u" ) )
> +                {
> +                    char *psz_new_mrl;
> +                    if ( asprintf( &psz_new_mrl, "%s?satip-device=%s", psz_mrl, p_demux->p_sys->psz_satip_device ) < 0 )
> +                    {
> +                        free( psz_parse );
> +                        free( psz_mrl );
> +                        goto error;
> +                    }
> +                    free( psz_mrl );
> +                    psz_mrl = psz_new_mrl;
> +                }
> +            }

Same flaw as httplive with nested recursive playlists ?

Francois



More information about the vlc-devel mailing list