time: Add missing zero
Leftover of 56d7df91e010a177a80cfc8dbe394305 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
This commit is contained in:
		
							parent
							
								
									1274ea8dba
								
							
						
					
					
						commit
						1ec335513f
					
				@ -41,7 +41,7 @@ int64_t av_gettime(void)
 | 
			
		||||
#if HAVE_CLOCK_GETTIME
 | 
			
		||||
    struct timespec ts;
 | 
			
		||||
    clock_gettime(CLOCK_MONOTONIC, &ts);
 | 
			
		||||
    return (int64_t)ts.tv_sec * 100000 + ts.tv_nsec / 1000;
 | 
			
		||||
    return (int64_t)ts.tv_sec * 1000000 + ts.tv_nsec / 1000;
 | 
			
		||||
#elif HAVE_GETTIMEOFDAY
 | 
			
		||||
    struct timeval tv;
 | 
			
		||||
    gettimeofday(&tv, NULL);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user