mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Fixed stdio_close
This commit is contained in:
parent
aa7df159e1
commit
54bfcb69d8
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ typedef struct _snd_output_stdio {
|
|||
static int snd_output_stdio_close(snd_output_t *output ATTRIBUTE_UNUSED)
|
||||
{
|
||||
snd_output_stdio_t *stdio = output->private_data;
|
||||
if (close)
|
||||
if (stdio->close)
|
||||
fclose(stdio->fp);
|
||||
free(stdio);
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue