Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a6d91eea authored by Dan Austin's avatar Dan Austin Committed by Gerrit Code Review
Browse files

Merge "Enable fsanitize signed-integer-overflow in Soft MPEG4 encoder"

parents 5b2454f6 8009d3ba
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -34,6 +34,8 @@ LOCAL_C_INCLUDES := \
    $(TOP)/frameworks/native/include/media/openmax

LOCAL_CFLAGS += -Werror
LOCAL_CLANG := true
LOCAL_SANITIZE := signed-integer-overflow

include $(BUILD_STATIC_LIBRARY)

@@ -75,6 +77,8 @@ LOCAL_MODULE := libstagefright_soft_mpeg4enc
LOCAL_MODULE_TAGS := optional

LOCAL_CFLAGS += -Werror
LOCAL_CLANG := true
LOCAL_SANITIZE := signed-integer-overflow

include $(BUILD_SHARED_LIBRARY)

@@ -89,6 +93,8 @@ LOCAL_C_INCLUDES := \
        $(LOCAL_PATH)/include

LOCAL_CFLAGS := -DOSCL_EXPORT_REF= -DOSCL_IMPORT_REF= -DBX_RC
LOCAL_CLANG := true
LOCAL_SANITIZE := signed-integer-overflow

LOCAL_STATIC_LIBRARIES := \
        libstagefright_m4vh263enc