diff options
Diffstat (limited to 'apps/codecs')
-rw-r--r-- | apps/codecs/raac.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/codecs/raac.c b/apps/codecs/raac.c index 48a0b60ce1..3f6dc01970 100644 --- a/apps/codecs/raac.c +++ b/apps/codecs/raac.c | |||
@@ -54,7 +54,6 @@ enum codec_status codec_run(void) | |||
54 | static NeAACDecFrameInfo frame_info; | 54 | static NeAACDecFrameInfo frame_info; |
55 | NeAACDecHandle decoder; | 55 | NeAACDecHandle decoder; |
56 | size_t n; | 56 | size_t n; |
57 | void *ret; | ||
58 | unsigned int i; | 57 | unsigned int i; |
59 | unsigned char* buffer; | 58 | unsigned char* buffer; |
60 | int err, consumed, pkt_offset, skipped = 0; | 59 | int err, consumed, pkt_offset, skipped = 0; |
@@ -192,7 +191,7 @@ enum codec_status codec_run(void) | |||
192 | 191 | ||
193 | /* Decode one block - returned samples will be host-endian */ | 192 | /* Decode one block - returned samples will be host-endian */ |
194 | for(i = 0; i < rmctx.sub_packet_cnt; i++) { | 193 | for(i = 0; i < rmctx.sub_packet_cnt; i++) { |
195 | ret = NeAACDecDecode(decoder, &frame_info, buffer, rmctx.sub_packet_lengths[i]); | 194 | NeAACDecDecode(decoder, &frame_info, buffer, rmctx.sub_packet_lengths[i]); |
196 | buffer += rmctx.sub_packet_lengths[i]; | 195 | buffer += rmctx.sub_packet_lengths[i]; |
197 | if (frame_info.error > 0) { | 196 | if (frame_info.error > 0) { |
198 | DEBUGF("FAAD: decode error '%s'\n", NeAACDecGetErrorMessage(frame_info.error)); | 197 | DEBUGF("FAAD: decode error '%s'\n", NeAACDecGetErrorMessage(frame_info.error)); |