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

Commit 79d661f4 authored by Mark Salyzyn's avatar Mark Salyzyn
Browse files

libstagefright: use __predict_false from bionic rather than CONDITION from log/log.h

Change-Id: Ieb07a4f58c96326553e87dacca11e3980e283dc8
parent 43e10bb7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@
#include "include/ESDS.h"

#define WARN_UNLESS(condition, message, ...) \
( (CONDITION(condition)) ? false : ({ \
( (__predict_false(condition)) ? false : ({ \
    ALOGW("Condition %s failed "  message, #condition, ##__VA_ARGS__); \
    true; \
}))