[vlc-devel] [PATCH 01/21] libvlc: use str_id to compare different es
Rémi Denis-Courmont
remi at remlab.net
Fri Oct 23 21:42:52 CEST 2020
Le perjantaina 23. lokakuuta 2020, 16.20.55 EEST Prince Gupta a écrit :
> ---
> src/input/es_out.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/input/es_out.c b/src/input/es_out.c
> index beae1e9b55..326a125f49 100644
> --- a/src/input/es_out.c
> +++ b/src/input/es_out.c
> @@ -2672,7 +2672,7 @@ static void EsOutSelectList( es_out_t *out, enum
> es_format_category_e cat, vlc_es_id_t *es_id = es_id_list[i];
> if( es_id == NULL )
> break;
> - else if( es_id->i_id == other->id.i_id )
> + else if( !strcmp( es_id->str_id, other->id.str_id ) )
> {
> select = true;
> break;
That looks suspicious and there are zero explanations, so no thanks.
--
レミ・デニ-クールモン
http://www.remlab.net/
More information about the vlc-devel
mailing list