OSDN Git Service

sbc: use an uint16 to store frame length in internal frame structure
[android-x86/external-bluetooth-sbc.git] / sbc / sbc.c
index e830388..606f11c 100644 (file)
--- a/sbc/sbc.c
+++ b/sbc/sbc.c
@@ -119,7 +119,7 @@ struct sbc_frame {
        uint8_t subbands;
        uint8_t bitpool;
        uint16_t codesize;
-       uint8_t length;
+       uint16_t length;
 
        /* bit number x set means joint stereo has been used in subband x */
        uint8_t joint;