vlc | branch: master | Francois Cartegnie <[email protected]> | Tue Feb 28 
18:29:39 2017 +0100| [5b255b69ea9df95fc8f6fe843206e3bd02447fd6] | committer: 
Francois Cartegnie

demux: ts: fix broken hotfix pcr probing

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

 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 b9ffc22..175fffd 100644
--- a/modules/demux/mpeg/ts_hotfixes.c
+++ b/modules/demux/mpeg/ts_hotfixes.c
@@ -68,7 +68,7 @@ void ProbePES( demux_t *p_demux, ts_pid_t *pid, const uint8_t 
*p_pesstart, size_
         {
             if( i_data < len )
                 return;
-            if( len >= 7 && (p_pes[1] & 0x10) )
+            if( len >= 7 && (p_pes[0] & 0x10) )
                 pid->probed.i_pcr_count++;
             p_pes += len;
             i_data -= len;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to