Merge "NdkMediaCodec: Wrong check in error callback handler"

gugelfrei
Treehugger Robot 5 years ago committed by Gerrit Code Review
commit 49a4f52e02

@ -244,8 +244,8 @@ void CodecHandler::onMessageReceived(const sp<AMessage> &msg) {
ALOGE("CB_ERROR: err is expected.");
break;
}
if (!msg->findInt32("action", &actionCode)) {
ALOGE("CB_ERROR: action is expected.");
if (!msg->findInt32("actionCode", &actionCode)) {
ALOGE("CB_ERROR: actionCode is expected.");
break;
}
msg->findString("detail", &detail);

Loading…
Cancel
Save