vlc | branch: master | Tristan Matthews <le.business...@gmail.com> | Fri Jun 27 
21:19:36 2014 -0400| [c0cf20ae9bf8a665abcfb711720a03b30be1915c] | committer: 
Tristan Matthews

packetizer: mpeg4video: use CLOCK_FREQ

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

 modules/packetizer/mpeg4video.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/packetizer/mpeg4video.c b/modules/packetizer/mpeg4video.c
index ddb8b84..bdf503c 100644
--- a/modules/packetizer/mpeg4video.c
+++ b/modules/packetizer/mpeg4video.c
@@ -490,13 +490,13 @@ static int ParseVOP( decoder_t *p_dec, block_t *p_vop )
         p_dec->fmt_in.video.i_frame_rate > 0 &&
         p_dec->fmt_in.video.i_frame_rate_base > 0 )
     {
-        p_sys->i_interpolated_pts += INT64_C(1000000) *
+        p_sys->i_interpolated_pts += CLOCK_FREQ *
         p_dec->fmt_in.video.i_frame_rate_base /
         p_dec->fmt_in.video.i_frame_rate;
     }
     else if( p_dec->p_sys->i_fps_num )
         p_sys->i_interpolated_pts +=
-            ( INT64_C(1000000) * (i_time_ref + i_time_increment -
+            ( CLOCK_FREQ * (i_time_ref + i_time_increment -
               p_sys->i_last_time - p_sys->i_last_timeincr) /
               p_dec->p_sys->i_fps_num );
 

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to