[vlc-commits] es_out: don't use i_id to compare es

Prince Gupta git at videolan.org
Thu Oct 29 16:46:05 CET 2020


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Mon Oct 26 19:36:55 2020 +0530| [af2ece04d4222e95fe67de3162a1bf1e0c9702b6] | committer: Thomas Guillem

es_out: don't use i_id to compare es

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=af2ece04d4222e95fe67de3162a1bf1e0c9702b6
---

 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 00f544778a..ab3134ab9f 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 == &other->id )
                 {
                     select = true;
                     break;



More information about the vlc-commits mailing list