diff options
author | Max Kellermann <max@duempel.org> | 2009-02-28 19:24:40 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-02-28 19:24:40 +0100 |
commit | 0813092c637121a161721f75c854128c9a921304 (patch) | |
tree | bc91002fa7b1a2e26d43a479e507d772597bd066 /src/cmdline.c | |
parent | 44b55bff8978239b130acd9f5cfe52b9ab2e2b92 (diff) | |
download | mpd-0813092c637121a161721f75c854128c9a921304.tar.gz mpd-0813092c637121a161721f75c854128c9a921304.tar.xz mpd-0813092c637121a161721f75c854128c9a921304.zip |
audiofile: refuse to play non-seekable files
If an input_stream is not seekable, libaudiofile fails to play at all:
Audio File Library: unrecognized audio file format [error 0]
Since we know in advance whether the input_stream is seekable, just
refuse to play on a non-seekable stream.
Diffstat (limited to 'src/cmdline.c')
0 files changed, 0 insertions, 0 deletions