[FFmpeg-devel] [PATCH 1/3] avutil/tests/lzo: remove timer macros

James Almer jamrial at gmail.com
Sun Jun 13 17:50:12 EEST 2021


On 6/6/2021 11:20 PM, James Almer wrote:
> Suggested-by: ffmpeg at fb.com
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>   libavutil/tests/lzo.c | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/libavutil/tests/lzo.c b/libavutil/tests/lzo.c
> index 0147ab5c1d..a5655dbfc5 100644
> --- a/libavutil/tests/lzo.c
> +++ b/libavutil/tests/lzo.c
> @@ -55,7 +55,6 @@ int main(int argc, char *argv[]) {
>       } else
>           lzo1x_999_compress(orig, s, comp, &clen, tmp);
>       for (i = 0; i < 300; i++) {
> -START_TIMER
>           inlen = clen; outlen = MAXSZ;
>   #if BENCHMARK_LIBLZO_SAFE
>           if (lzo1x_decompress_safe(comp, inlen, decomp, &outlen, NULL))
> @@ -65,7 +64,6 @@ START_TIMER
>           if (av_lzo1x_decode(decomp, &outlen, comp, &inlen))
>   #endif
>               av_log(NULL, AV_LOG_ERROR, "decompression error\n");
> -STOP_TIMER("lzod")
>       }
>       if (memcmp(orig, decomp, s))
>           av_log(NULL, AV_LOG_ERROR, "decompression incorrect\n");

Will apply.


More information about the ffmpeg-devel mailing list