mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:55:43 +01:00
Added missing initialization of pbrec_count variable
This commit is contained in:
parent
812cb6cfd1
commit
071c299369
1 changed files with 2 additions and 0 deletions
|
@ -1793,6 +1793,7 @@ static void playback(char *name)
|
|||
size_t dta;
|
||||
ssize_t dtawave;
|
||||
|
||||
pbrec_count = (size_t)-1;
|
||||
fdcount = 0;
|
||||
if (!name || !strcmp(name, "-")) {
|
||||
fd = fileno(stdin);
|
||||
|
@ -1843,6 +1844,7 @@ static void playback(char *name)
|
|||
|
||||
static void capture(char *name)
|
||||
{
|
||||
pbrec_count = (size_t)-1;
|
||||
if (!name || !strcmp(name, "-")) {
|
||||
fd = fileno(stdout);
|
||||
name = "stdout";
|
||||
|
|
Loading…
Reference in a new issue