summaryrefslogtreecommitdiffstats
path: root/lib/rbcodec/codecs/atrac3_rm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/codecs/atrac3_rm.c')
-rw-r--r--lib/rbcodec/codecs/atrac3_rm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rbcodec/codecs/atrac3_rm.c b/lib/rbcodec/codecs/atrac3_rm.c
index af38b79fc4..b365dac926 100644
--- a/lib/rbcodec/codecs/atrac3_rm.c
+++ b/lib/rbcodec/codecs/atrac3_rm.c
@@ -22,7 +22,6 @@
#include <string.h>
#include "codeclib.h"
-#include "inttypes.h"
#include "libatrac/atrac3.h"
CODEC_HEADER
@@ -109,7 +108,7 @@ enum codec_status codec_run(void)
scrambling_unit_size = h * (fs + packet_header_size);
spn = h * fs / sps;
- res = atrac3_decode_init(&q, ci->id3);
+ res = atrac3_decode_init(&q, ci->id3, rmctx.nb_channels, rmctx.extradata_size);
if(res < 0) {
DEBUGF("failed to initialize RM atrac decoder\n");
return CODEC_ERROR;