[vlc-devel] commit: Used VLC_TS_0 in MPC demuxer. (Laurent Aimar )

git version control git at videolan.org
Mon Dec 21 00:02:33 CET 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Dec 20 21:02:11 2009 +0100| [b0b7d04b69a94c931ab0b75d9becf82839fb156f] | committer: Laurent Aimar 

Used VLC_TS_0 in MPC demuxer.

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

 modules/demux/mpc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/demux/mpc.c b/modules/demux/mpc.c
index 47b7e77..649a93e 100644
--- a/modules/demux/mpc.c
+++ b/modules/demux/mpc.c
@@ -281,7 +281,7 @@ static int Demux( demux_t *p_demux )
     /* */
     p_data->i_buffer = i_ret * sizeof(MPC_SAMPLE_FORMAT) * p_sys->info.channels;
     p_data->i_dts = p_data->i_pts =
-            1 + INT64_C(1000000) * p_sys->i_position / p_sys->info.sample_freq;
+            VLC_TS_0 + INT64_C(1000000) * p_sys->i_position / p_sys->info.sample_freq;
 
     es_out_Control( p_demux->out, ES_OUT_SET_PCR, p_data->i_dts );
 




More information about the vlc-devel mailing list