libstagefright: convert status_t to OMX_ERRORTYPE.
Bug: 19620911
Change-Id: I32369b2e812c7f3ef6953b13a1dae046b8dc24f1
diff --git a/media/libstagefright/ACodec.cpp b/media/libstagefright/ACodec.cpp
index d682cc6..4efc630 100644
--- a/media/libstagefright/ACodec.cpp
+++ b/media/libstagefright/ACodec.cpp
@@ -4931,7 +4931,7 @@
ALOGE("Unable to instantiate codec '%s' with err %#x.", componentName.c_str(), err);
}
- mCodec->signalError(err, makeNoSideEffectStatus(err));
+ mCodec->signalError((OMX_ERRORTYPE)err, makeNoSideEffectStatus(err));
return false;
}