diff options
Diffstat (limited to 'apps/codecs/demac/libdemac/entropy.c')
-rw-r--r-- | apps/codecs/demac/libdemac/entropy.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/apps/codecs/demac/libdemac/entropy.c b/apps/codecs/demac/libdemac/entropy.c index e8561122a7..54b5cc57b6 100644 --- a/apps/codecs/demac/libdemac/entropy.c +++ b/apps/codecs/demac/libdemac/entropy.c | |||
@@ -419,11 +419,11 @@ void init_entropy_decoder(struct ape_ctx_t* ape_ctx, | |||
419 | *firstbyte = bytebufferoffset; | 419 | *firstbyte = bytebufferoffset; |
420 | } | 420 | } |
421 | 421 | ||
422 | int ICODE_ATTR_DEMAC entropy_decode(struct ape_ctx_t* ape_ctx, | 422 | void ICODE_ATTR_DEMAC entropy_decode(struct ape_ctx_t* ape_ctx, |
423 | unsigned char* inbuffer, int* firstbyte, | 423 | unsigned char* inbuffer, int* firstbyte, |
424 | int* bytesconsumed, | 424 | int* bytesconsumed, |
425 | int32_t* decoded0, int32_t* decoded1, | 425 | int32_t* decoded0, int32_t* decoded1, |
426 | int blockstodecode) | 426 | int blockstodecode) |
427 | { | 427 | { |
428 | bytebuffer = inbuffer; | 428 | bytebuffer = inbuffer; |
429 | bytebufferoffset = *firstbyte; | 429 | bytebufferoffset = *firstbyte; |
@@ -458,6 +458,4 @@ int ICODE_ATTR_DEMAC entropy_decode(struct ape_ctx_t* ape_ctx, | |||
458 | /* Return the new state of the buffer */ | 458 | /* Return the new state of the buffer */ |
459 | *bytesconsumed = bytebuffer - inbuffer; | 459 | *bytesconsumed = bytebuffer - inbuffer; |
460 | *firstbyte = bytebufferoffset; | 460 | *firstbyte = bytebufferoffset; |
461 | |||
462 | return(0); | ||
463 | } | 461 | } |