From da45e6c424b1b73286fd7f33931f2d036f2cdac4 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 15 May 2021 15:36:34 +0300 Subject: [PATCH] normalize indentation of tests [skip ci] --- test/libmpg123.cpp | 12 ++++++------ test/sdl2.cpp | 20 ++++++++++---------- test/vpx.cpp | 12 ++++++------ 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/test/libmpg123.cpp b/test/libmpg123.cpp index 9971e085..05b33027 100644 --- a/test/libmpg123.cpp +++ b/test/libmpg123.cpp @@ -2,10 +2,10 @@ int main(int argc, char **argv) { - mpg123_init(); - mpg123_handle* mh = mpg123_new(NULL, NULL); - mpg123_param(mh, MPG123_VERBOSE, 1, 0.); - mpg123_delete(mh); - mpg123_exit(); - return 0; + mpg123_init(); + mpg123_handle* mh = mpg123_new(NULL, NULL); + mpg123_param(mh, MPG123_VERBOSE, 1, 0.); + mpg123_delete(mh); + mpg123_exit(); + return 0; } diff --git a/test/sdl2.cpp b/test/sdl2.cpp index f147f438..d5ec9680 100644 --- a/test/sdl2.cpp +++ b/test/sdl2.cpp @@ -2,18 +2,18 @@ int main() { - if (SDL_Init(SDL_INIT_EVERYTHING) != 0) - { - return 1; - } + if (SDL_Init(SDL_INIT_EVERYTHING) != 0) + { + return 1; + } - SDL_Event dummy; + SDL_Event dummy; - while (SDL_PollEvent(&dummy)) - { - } + while (SDL_PollEvent(&dummy)) + { + } - SDL_Quit(); + SDL_Quit(); - return 0; + return 0; } diff --git a/test/vpx.cpp b/test/vpx.cpp index 2beebd0c..ddf3ab51 100644 --- a/test/vpx.cpp +++ b/test/vpx.cpp @@ -3,12 +3,12 @@ int main() { - vpx_codec_ctx_t codec; + vpx_codec_ctx_t1 codec; - if (vpx_codec_dec_init(&codec, &vpx_codec_vp8_dx_algo, nullptr, 0) != VPX_CODEC_OK) - { - return 1; - } + if (vpx_codec_dec_init(&codec, &vpx_codec_vp8_dx_algo, nullptr, 0) != VPX_CODEC_OK) + { + return 1; + } vp8_postproc_cfg_t pp = { 0, 0, 0 }; @@ -22,5 +22,5 @@ int main() return 1; } - return 0; + return 0; }