diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-05-18 02:46:13 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-05-18 02:46:13 +0000 |
commit | 48a58073dd9bf781a8e2a127e832941332fc8a41 (patch) | |
tree | 8aeeb19951a63b43c8f054947539ae904b9f4558 /src/aac_decode.c | |
parent | ee79a3a8fdd119444ff76d993678a56ed635df2b (diff) | |
download | mpd-48a58073dd9bf781a8e2a127e832941332fc8a41.tar.gz mpd-48a58073dd9bf781a8e2a127e832941332fc8a41.tar.xz mpd-48a58073dd9bf781a8e2a127e832941332fc8a41.zip |
add new inputStream stuff, hopefully something major isn't foobar'd
git-svn-id: https://svn.musicpd.org/mpd/trunk@1049 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/aac_decode.c')
-rw-r--r-- | src/aac_decode.c | 4 |
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); |