aboutsummaryrefslogtreecommitdiffstats
path: root/src/ogg_decode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ogg_decode.c')
-rw-r--r--src/ogg_decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ogg_decode.c b/src/ogg_decode.c
index cda00e6cb..4014644af 100644
--- a/src/ogg_decode.c
+++ b/src/ogg_decode.c
@@ -154,7 +154,7 @@ int ogg_decode(OutputBuffer * cb, DecoderControl * dc)
callbacks.close_func = ogg_close_cb;
callbacks.tell_func = ogg_tell_cb;
- if(openInputStreamFromFile(&inStream,dc->file)<0) {
+ if(openInputStream(&inStream,dc->file)<0) {
ERROR("failed to open ogg\n");
return -1;
}