diff options
Diffstat (limited to 'apps/codecs/atrac3_rm.c')
-rw-r--r-- | apps/codecs/atrac3_rm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/atrac3_rm.c b/apps/codecs/atrac3_rm.c index b666dd4513..997507425e 100644 --- a/apps/codecs/atrac3_rm.c +++ b/apps/codecs/atrac3_rm.c @@ -89,7 +89,7 @@ enum codec_status codec_run(void) fs = rmctx.audio_framesize; sps= rmctx.block_align; h = rmctx.sub_packet_h; - scrambling_unit_size = h*fs; + scrambling_unit_size = h * (fs + PACKET_HEADER_SIZE); res = atrac3_decode_init(&q, ci->id3); if(res < 0) { |