[vlc-devel] [PATCH 01/22] libvlc: don't use i_id to compare es
Thomas Guillem
thomas at gllm.fr
Mon Oct 26 13:32:35 CET 2020
On Mon, Oct 26, 2020, at 13:27, Prince Gupta wrote:
> ---
> 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..771e33d1d3 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( es_id == ( vlc_es_id_t * )other )
The cast is useless here.
> {
> select = true;
> break;
> --
> 2.25.1
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list