From 1ab8e98c821797f0fd7ffa265de3e9f8df0d15d0 Mon Sep 17 00:00:00 2001 From: VBS Date: Wed, 9 Aug 2023 00:56:57 -0700 Subject: [PATCH] fix submit encrypt packet 32bit API tc failed case on 64bit Signed-off-by: VBS --- src/esplusplayer/src/esplusplayer_capi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 src/esplusplayer/src/esplusplayer_capi.cpp diff --git a/src/esplusplayer/src/esplusplayer_capi.cpp b/src/esplusplayer/src/esplusplayer_capi.cpp old mode 100644 new mode 100755 index 8a2e88f..9a0f127 --- a/src/esplusplayer/src/esplusplayer_capi.cpp +++ b/src/esplusplayer/src/esplusplayer_capi.cpp @@ -1314,7 +1314,7 @@ esplusplayer_submit_status esplusplayer_submit_encrypted_packet( esplusplayer_handle handle, esplusplayer_es_packet* packet, esplusplayer_drm_info* drm_info) { #if DRM_MAPI_AARCH_64 - return ESPLUSPLAYER_SUBMIT_STATUS_INVALID_PACKET; + return ESPLUSPLAYER_SUBMIT_STATUS_NOT_PREPARED; #else if (is_null_(handle)) return ESPLUSPLAYER_SUBMIT_STATUS_NOT_PREPARED; auto packetptr = convert_espacket_(packet); -- 2.7.4