[vlc-commits] smf: prepare for void *p_sys
Rémi Denis-Courmont
git at videolan.org
Sun Dec 3 16:58:04 CET 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Dec 3 17:05:50 2017 +0200| [52cf29e0c840942fe218be6881dfa7986c3ce30f] | committer: Rémi Denis-Courmont
smf: prepare for void *p_sys
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=52cf29e0c840942fe218be6881dfa7986c3ce30f
---
modules/demux/smf.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules/demux/smf.c b/modules/demux/smf.c
index 37b16d6ac5..7da895f2d6 100644
--- a/modules/demux/smf.c
+++ b/modules/demux/smf.c
@@ -258,6 +258,7 @@ static
int HandleMessage (demux_t *p_demux, mtrk_t *tr, es_out_t *out)
{
stream_t *s = p_demux->s;
+ demux_sys_t *sys = p_demux->p_sys;
block_t *block;
uint8_t first, event;
unsigned datalen;
@@ -348,9 +349,9 @@ int HandleMessage (demux_t *p_demux, mtrk_t *tr, es_out_t *out)
}
send:
- block->i_dts = block->i_pts = date_Get (&p_demux->p_sys->pts);
+ block->i_dts = block->i_pts = date_Get(&sys->pts);
if (out != NULL)
- es_out_Send (out, p_demux->p_sys->es, block);
+ es_out_Send(out, sys->es, block);
else
block_Release (block);
More information about the vlc-commits
mailing list