diff options
| author | Mattias Andrée <maandree@kth.se> | 2017-04-09 23:46:17 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2017-04-09 23:46:17 +0200 |
| commit | dac6950d9e556d5521ad7913d27a6cf83e2a90a1 (patch) | |
| tree | bb6a65d973337a0504117888d5534967cc51f479 /src/blind-stack.c | |
| parent | Clean up (diff) | |
| download | blind-dac6950d9e556d5521ad7913d27a6cf83e2a90a1.tar.gz blind-dac6950d9e556d5521ad7913d27a6cf83e2a90a1.tar.bz2 blind-dac6950d9e556d5521ad7913d27a6cf83e2a90a1.tar.xz | |
Clean up
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/blind-stack.c')
| -rw-r--r-- | src/blind-stack.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/blind-stack.c b/src/blind-stack.c index 2bcc38c..d409cc6 100644 --- a/src/blind-stack.c +++ b/src/blind-stack.c @@ -64,9 +64,7 @@ main(int argc, char *argv[]) streams = ecalloc(n_streams, sizeof(*streams)); for (i = 0; i < n_streams; i++) { - streams[i].file = argv[i]; - streams[i].fd = eopen(streams[i].file, O_RDONLY); - einit_stream(streams + i); + eopen_stream(streams + i, argv[i]); if (streams[i].frames > frames) frames = streams[i].frames; } |
