normalize indentation of tests

[skip ci]
This commit is contained in:
alexey.lysiuk 2021-05-15 15:36:34 +03:00
parent b2a84d51f6
commit da45e6c424
3 changed files with 22 additions and 22 deletions

View file

@ -2,10 +2,10 @@
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
mpg123_init(); mpg123_init();
mpg123_handle* mh = mpg123_new(NULL, NULL); mpg123_handle* mh = mpg123_new(NULL, NULL);
mpg123_param(mh, MPG123_VERBOSE, 1, 0.); mpg123_param(mh, MPG123_VERBOSE, 1, 0.);
mpg123_delete(mh); mpg123_delete(mh);
mpg123_exit(); mpg123_exit();
return 0; return 0;
} }

View file

@ -2,18 +2,18 @@
int main() int main()
{ {
if (SDL_Init(SDL_INIT_EVERYTHING) != 0) if (SDL_Init(SDL_INIT_EVERYTHING) != 0)
{ {
return 1; return 1;
} }
SDL_Event dummy; SDL_Event dummy;
while (SDL_PollEvent(&dummy)) while (SDL_PollEvent(&dummy))
{ {
} }
SDL_Quit(); SDL_Quit();
return 0; return 0;
} }

View file

@ -3,12 +3,12 @@
int main() 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) if (vpx_codec_dec_init(&codec, &vpx_codec_vp8_dx_algo, nullptr, 0) != VPX_CODEC_OK)
{ {
return 1; return 1;
} }
vp8_postproc_cfg_t pp = { 0, 0, 0 }; vp8_postproc_cfg_t pp = { 0, 0, 0 };
@ -22,5 +22,5 @@ int main()
return 1; return 1;
} }
return 0; return 0;
} }