]> git.sesse.net Git - vlc/commitdiff
Kill further I64C
authorRémi Denis-Courmont <rem@videolan.org>
Sat, 10 May 2008 16:19:06 +0000 (19:19 +0300)
committerRémi Denis-Courmont <rem@videolan.org>
Sat, 10 May 2008 16:19:06 +0000 (19:19 +0300)
I think I'm going to become stricter about NOT merging out-of-sync
patches

modules/codec/kate.c
modules/gui/wxwidgets/dialogs/vlm/vlm_slider_manager.cpp

index 876ed37efb3bc6bf8775431c09288182a9ff0cfe..a399917c1e0773c5e7a5b7556f25fa1d8d570e55 100644 (file)
@@ -564,7 +564,7 @@ static subpicture_t *DecodePacket( decoder_t *p_dec, kate_packet *p_kp, block_t
 
     p_spu->p_region->psz_text = strdup(ev->text); /* no leak, this actually gets killed by the core */
     p_spu->i_start = p_block->i_pts;
-    p_spu->i_stop = p_block->i_pts + I64C(1000000)*ev->duration*p_sys->ki.gps_denominator/p_sys->ki.gps_numerator;
+    p_spu->i_stop = p_block->i_pts + INT64_C(1000000)*ev->duration*p_sys->ki.gps_denominator/p_sys->ki.gps_numerator;
     p_spu->b_ephemer = (p_block->i_length == 0);
     p_spu->b_absolute = false;
 
index 5f56064fd4dbeaaf819ca31354644f6fbfb8ab72..690765e3c168ccaa1b4401cf0d08d8d808174c70 100644 (file)
@@ -204,10 +204,10 @@ void VLMSliderManager::ProcessUpdate( wxScrollEvent &event )
             char psz_time[ MSTRTIME_MAX_SIZE ], psz_total[ MSTRTIME_MAX_SIZE ];
             mtime_t i_seconds;
 
-            i_seconds = var_GetTime( p_input, "length" ) / I64C(1000000 );
+            i_seconds = var_GetTime( p_input, "length" ) / INT64_C( 1000000 );
             secstotimestr( psz_total, i_seconds );
 
-            i_seconds = var_GetTime( p_input, "time" ) /   I64C(1000000 );
+            i_seconds = var_GetTime( p_input, "time" ) / INT_64C( 1000000 );
             secstotimestr( psz_time, i_seconds );
 
             time_string = wxU(psz_time) + wxString(wxT(" / ") ) +wxU(psz_total) ;