From 72a0ce71285034853c1720b738db348fdcec5228 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Tue, 10 Nov 2020 20:33:29 -0800 Subject: *: add _us suffixes to {frame,period}time names Make the names reflect their units of microseconds --- src/rmd_rescue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rmd_rescue.c') diff --git a/src/rmd_rescue.c b/src/rmd_rescue.c index 82bb8df..dc5ca33 100644 --- a/src/rmd_rescue.c +++ b/src/rmd_rescue.c @@ -99,7 +99,7 @@ int rmdRescue(const char *path) vblocks = malloc(sizeof(*vblocks) * (enc_data.yuv.y_width / Y_UNIT_WIDTH) * (enc_data.yuv.y_height / Y_UNIT_WIDTH)); - pdata.frametime = 1000000 / pdata.args.fps; + pdata.frametime_us = 1000000 / pdata.args.fps; pthread_mutex_init(&pdata.theora_lib_mutex, NULL); pthread_mutex_init(&pdata.vorbis_lib_mutex, NULL); -- cgit v1.2.3