aboutsummaryrefslogtreecommitdiffstats
path: root/src/flac_decode.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/flac_decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flac_decode.c b/src/flac_decode.c
index c3780ef58..105a3ef6f 100644
--- a/src/flac_decode.c
+++ b/src/flac_decode.c
@@ -81,7 +81,7 @@ int flac_decode(OutputBuffer * cb, DecoderControl *dc) {
data.dc = dc;
data.replayGainScale = 1.0;
- if(openInputStreamFromFile(&(data.inStream),dc->file)<0) {
+ if(openInputStream(&(data.inStream),dc->file)<0) {
ERROR("unable to open flac: %s\n",dc->file);
return -1;
}