[vlc-commits] demux: ts: fix get_position regression after prog selection
Francois Cartegnie
git at videolan.org
Sun Jan 24 01:24:20 CET 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jan 21 23:40:04 2016 +0100| [d859d8a15de199edeaae8f400af9f74a21105d05] | committer: Francois Cartegnie
demux: ts: fix get_position regression after prog selection
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d859d8a15de199edeaae8f400af9f74a21105d05
---
modules/demux/mpeg/ts.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/modules/codec/scte18.c b/modules/codec/scte18.c
new file mode 100644
index 0000000..e69de29
diff --git a/modules/demux/mpeg/ts.c b/modules/demux/mpeg/ts.c
index b3d2163..e132298 100644
--- a/modules/demux/mpeg/ts.c
+++ b/modules/demux/mpeg/ts.c
@@ -1498,7 +1498,6 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
for( int i=0; i<p_pat->programs.i_size && !p_pmt; i++ )
{
- p_pmt = p_pat->programs.p_elems[i]->u.p_pmt;
if( p_pat->programs.p_elems[i]->u.p_pmt->b_selected )
p_pmt = p_pat->programs.p_elems[i]->u.p_pmt;
}
More information about the vlc-commits
mailing list