[vlc-commits] ty: simplify expression

Rémi Denis-Courmont git at videolan.org
Sun Dec 3 16:57:47 CET 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Dec  3 17:09:53 2017 +0200| [0ca9b24e361da35fe65d072a70c2df1b95141871] | committer: Rémi Denis-Courmont

ty: simplify expression

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

 modules/demux/ty.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/demux/ty.c b/modules/demux/ty.c
index d96ea139bf..bbe45ea2b0 100644
--- a/modules/demux/ty.c
+++ b/modules/demux/ty.c
@@ -1413,8 +1413,8 @@ static void DemuxDecodeXds( demux_t *p_demux, uint8_t d1, uint8_t d2 )
 {
     demux_sys_t *p_sys = p_demux->p_sys;
 
-    XdsParse( &p_demux->p_sys->xds, d1, d2 );
-    if( p_demux->p_sys->xds.b_meta_changed )
+    XdsParse( &p_sys->xds, d1, d2 );
+    if( p_sys->xds.b_meta_changed )
     {
         xds_meta_t *m = &p_sys->xds.meta;
         vlc_meta_t *p_meta;
@@ -1458,7 +1458,7 @@ static void DemuxDecodeXds( demux_t *p_demux, uint8_t d1, uint8_t d2 )
             }
         }
     }
-    p_demux->p_sys->xds.b_meta_changed = false;
+    p_sys->xds.b_meta_changed = false;
 }
 
 /* seek to an exact time position within the stream, if possible.



More information about the vlc-commits mailing list