diff --git a/frameworks/innerkitsimpl/native/player/player_impl.cpp b/frameworks/innerkitsimpl/native/player/player_impl.cpp index eba4b99e595e80a268d4bbc8640d0f3315216b1f..c282092caa8e38e41a7b2ad286f9ebc30f69b3a3 100644 --- a/frameworks/innerkitsimpl/native/player/player_impl.cpp +++ b/frameworks/innerkitsimpl/native/player/player_impl.cpp @@ -85,7 +85,7 @@ int32_t PlayerImpl::SetSource(const std::string &uri) int32_t PlayerImpl::Play() { - CHECK_AND_RETURN_RET_LOG(playerService_ != nullptr, ERR_INVALID_OPERATION, "player service does not exist.."); + CHECK_AND_RETURN_RET_LOG(playerService_ != nullptr, MSERR_INVALID_OPERATION, "player service does not exist.."); return playerService_->Play(); }