[vlc-commits] demux: ts: clear hotfixes shadowing warning

Francois Cartegnie git at videolan.org
Wed Nov 15 16:57:57 CET 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Nov 15 14:02:25 2017 +0100| [1269af21bfaa106db6e2899203c671a45fde3598] | committer: Francois Cartegnie

demux: ts: clear hotfixes shadowing warning

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

 modules/demux/mpeg/ts_hotfixes.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/mpeg/ts_hotfixes.c b/modules/demux/mpeg/ts_hotfixes.c
index 50d2c73151..206537470f 100644
--- a/modules/demux/mpeg/ts_hotfixes.c
+++ b/modules/demux/mpeg/ts_hotfixes.c
@@ -316,7 +316,7 @@ void MissingPATPMTFixup( demux_t *p_demux )
         int j=0;
         for( int i=0; i<p_sys->pids.i_all; i++ )
         {
-            const ts_pid_t *p_pid = p_sys->pids.pp_all[i];
+            p_pid = p_sys->pids.pp_all[i];
 
             if( !SEEN(p_pid) ||
                 p_pid->probed.i_fourcc == 0 )



More information about the vlc-commits mailing list