[vlc-devel] [PATCH] epg: API changes
Francois Cartegnie
fcvlcdev at free.fr
Wed Sep 14 19:42:31 CEST 2016
Le 14/09/2016 à 18:20, Francois Cartegnie a écrit :
> +vlc_epg_t * vlc_epg_Duplicate( const vlc_epg_t *p_src )
> +{
> + vlc_epg_t *p_epg = vlc_epg_New( p_src->i_id, p_src->i_source_id );
> + if( p_epg )
> + {
> + p_epg->psz_name = ( p_src->psz_name ) ? strdup( p_src->psz_name ) : NULL;
> + for( size_t i=0; i<p_epg->i_event; i++ )
> + {
> + vlc_epg_event_t *p_dup = vlc_epg_event_Duplicate( p_epg->pp_event[i] );
> + if( p_dup )
> + {
> + if( p_src->p_current == p_epg->pp_event[i] )
Note: p_evt <-> p_src mistake in lines here.
Francois
More information about the vlc-devel
mailing list