[vlc-commits] demux: ts: fix broken hotfix pcr probing
Francois Cartegnie
git at videolan.org
Tue Feb 28 18:30:36 CET 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | 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;
More information about the vlc-commits
mailing list