Skip to content

Commit

Permalink
mpg123: fix dump_close() usage (see #12)
Browse files Browse the repository at this point in the history
git-svn-id: svn://scm.orgis.org/mpg123/trunk@5390 35dc7657-300d-0410-a2e5-dc2837fedb53
  • Loading branch information
thor committed Dec 30, 2023
1 parent 6425108 commit 842f908
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/streamdump.c
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ int dump_setup(struct stream *sd, mpg123_handle *mh)
if(ret != MPG123_OK)
{
error1("Unable to replace reader/open track for stream dump: %s\n", mpg123_strerror(mh));
dump_close(sd);
dump_close();
return -1;
}
else return 0;
Expand Down
2 changes: 1 addition & 1 deletion src/streamdump.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ void stream_close(struct stream *sd);
// Return value is 0 for no error, -1 when bad.
int dump_setup(struct stream *sd, mpg123_handle *mh);
// Just close the dump output, not touching anything else.
void dump_close();
void dump_close(void);

#endif

0 comments on commit 842f908

Please sign in to comment.