Loading media/libstagefright/codecs/g711/dec/Android.mk +1 −1 Original line number Diff line number Diff line Loading @@ -16,6 +16,6 @@ LOCAL_MODULE_TAGS := optional LOCAL_CFLAGS += -Werror LOCAL_CLANG := true LOCAL_SANITIZE := signed-integer-overflow LOCAL_SANITIZE := signed-integer-overflow unsigned-integer-overflow include $(BUILD_SHARED_LIBRARY) media/libstagefright/codecs/g711/dec/SoftG711.cpp +4 −2 Original line number Diff line number Diff line Loading @@ -262,7 +262,8 @@ void SoftG711::onQueueFilled(OMX_U32 /* portIndex */) { // static void SoftG711::DecodeALaw( int16_t *out, const uint8_t *in, size_t inSize) { while (inSize-- > 0) { while (inSize > 0) { inSize--; int32_t x = *in++; int32_t ix = x ^ 0x55; Loading @@ -288,7 +289,8 @@ void SoftG711::DecodeALaw( // static void SoftG711::DecodeMLaw( int16_t *out, const uint8_t *in, size_t inSize) { while (inSize-- > 0) { while (inSize > 0) { inSize--; int32_t x = *in++; int32_t mantissa = ~x; Loading Loading
media/libstagefright/codecs/g711/dec/Android.mk +1 −1 Original line number Diff line number Diff line Loading @@ -16,6 +16,6 @@ LOCAL_MODULE_TAGS := optional LOCAL_CFLAGS += -Werror LOCAL_CLANG := true LOCAL_SANITIZE := signed-integer-overflow LOCAL_SANITIZE := signed-integer-overflow unsigned-integer-overflow include $(BUILD_SHARED_LIBRARY)
media/libstagefright/codecs/g711/dec/SoftG711.cpp +4 −2 Original line number Diff line number Diff line Loading @@ -262,7 +262,8 @@ void SoftG711::onQueueFilled(OMX_U32 /* portIndex */) { // static void SoftG711::DecodeALaw( int16_t *out, const uint8_t *in, size_t inSize) { while (inSize-- > 0) { while (inSize > 0) { inSize--; int32_t x = *in++; int32_t ix = x ^ 0x55; Loading @@ -288,7 +289,8 @@ void SoftG711::DecodeALaw( // static void SoftG711::DecodeMLaw( int16_t *out, const uint8_t *in, size_t inSize) { while (inSize-- > 0) { while (inSize > 0) { inSize--; int32_t x = *in++; int32_t mantissa = ~x; Loading