aboutsummaryrefslogtreecommitdiffstats
path: root/src/aac_decode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/aac_decode.c')
-rw-r--r--src/aac_decode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/aac_decode.c b/src/aac_decode.c
index 7013502d4..ddc8b62d9 100644
--- a/src/aac_decode.c
+++ b/src/aac_decode.c
@@ -212,7 +212,7 @@ float getAacFloatTotalTime(char * file) {
InputStream inStream;
size_t bread;
- if(openInputStreamFromFile(&inStream,file) < 0) return -1;
+ if(openInputStream(&inStream,file) < 0) return -1;
initAacBuffer(&inStream,&b,&length,&fileread,&tagsize);
@@ -274,7 +274,7 @@ int aac_decode(OutputBuffer * cb, DecoderControl * dc) {
if((totalTime = getAacFloatTotalTime(dc->file)) < 0) return -1;
- if(openInputStreamFromFile(&inStream,dc->file) < 0) return -1;
+ if(openInputStream(&inStream,dc->file) < 0) return -1;
initAacBuffer(&inStream,&b,NULL,NULL,NULL);