Changeset ac15b24be029a27ca7bdec62dc740c72c2ddaee0 for src/misc/stats.c
- Timestamp:
- 19/08/08 22:24:52 (4 months ago)
- git-parent:
- Files:
-
- src/misc/stats.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
src/misc/stats.c
rd666030 rac15b24 514 514 { 515 515 counter_sample_t *p_new, *p_old; 516 if( mdate() - p_counter->last_update < p_counter->update_interval ) 516 mtime_t now = mdate(); 517 if( now - p_counter->last_update < p_counter->update_interval ) 517 518 { 518 519 return VLC_EGENERIC; 519 520 } 520 p_counter->last_update = mdate();521 p_counter->last_update = now; 521 522 if( p_counter->i_type != VLC_VAR_FLOAT && 522 523 p_counter->i_type != VLC_VAR_INTEGER )
