[vlc-commits] demux: ts: fix fmt ref on es restart
Francois Cartegnie
git at videolan.org
Tue Apr 7 22:20:05 CEST 2015
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Apr 7 22:18:10 2015 +0200| [ead70b81454822c853377c995d33b5ee5f614dbd] | committer: Francois Cartegnie
demux: ts: fix fmt ref on es restart
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ead70b81454822c853377c995d33b5ee5f614dbd
---
modules/demux/ts.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index d518cb5..efb0fd8 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -5456,7 +5456,7 @@ static void PMTCallBack( void *data, dvbpsi_pmt_t *p_dvbpsipmt )
{
p_pes->es.id = NULL;
es_out_Control( p_demux->out, ES_OUT_SET_ES_FMT,
- pespid->u.p_pes->es.id, pespid->u.p_pes->es.fmt );
+ pespid->u.p_pes->es.id, &pespid->u.p_pes->es.fmt );
}
for( int i=0; i<pespid->u.p_pes->extra_es.i_size &&
@@ -5467,7 +5467,7 @@ static void PMTCallBack( void *data, dvbpsi_pmt_t *p_dvbpsipmt )
{
es_out_Control( p_demux->out, ES_OUT_SET_ES_FMT,
pespid->u.p_pes->extra_es.p_elems[i]->id,
- pespid->u.p_pes->extra_es.p_elems[i]->fmt );
+ &pespid->u.p_pes->extra_es.p_elems[i]->fmt );
p_pes->extra_es.p_elems[i]->id = NULL;
}
}
More information about the vlc-commits
mailing list