diff options
author | XANTRONIX Development | 2022-02-01 20:46:41 -0500 |
---|---|---|
committer | XANTRONIX Development | 2022-02-01 20:46:41 -0500 |
commit | 60f36ea87360169439a472be6355874797b72390 (patch) | |
tree | 8c0724fa331be278b09e1ff5172b5067bede31b3 /examples | |
parent | 647b2eda0a033b7c966ec38d2b3d86275307112d (diff) | |
download | xas-60f36ea87360169439a472be6355874797b72390.tar.gz xas-60f36ea87360169439a472be6355874797b72390.tar.bz2 xas-60f36ea87360169439a472be6355874797b72390.zip |
Fix broken reference to method name
Diffstat (limited to 'examples')
-rw-r--r-- | examples/open.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/open.c b/examples/open.c index 45cd2e5..4bf036b 100644 --- a/examples/open.c +++ b/examples/open.c @@ -32,8 +32,8 @@ int main(int argc, char **argv) { usage(argc, argv, "No input file provided"); } - if ((wave = xas_riff_file_open(argv[1], O_RDONLY)) == NULL) { - goto error_riff_file_open; + if ((wave = xas_riff_open_file(argv[1], O_RDONLY)) == NULL) { + goto error_riff_open_file; } printf("channels %zu sample rate %zu sample size %zu\n", @@ -45,6 +45,6 @@ int main(int argc, char **argv) { return EX_OK; -error_riff_file_open: +error_riff_open_file: return EX_OSERR; } |