change return value for drm 64bit submit API
authorling06.zhang <ling06.zhang@samsung.com>
Tue, 5 Sep 2023 10:48:24 +0000 (03:48 -0700)
committerling06.zhang <ling06.zhang@samsung.com>
Tue, 5 Sep 2023 10:48:24 +0000 (03:48 -0700)
Signed-off-by: ling06.zhang <ling06.zhang@samsung.com>
src/esplusplayer/src/esplusplayer_capi.cpp

index b4f4a5c..3a438ef 100755 (executable)
@@ -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_NOT_PREPARED;
+  return ESPLUSPLAYER_SUBMIT_STATUS_INVALID_PACKET;
 #else
   if (is_null_(handle)) return ESPLUSPLAYER_SUBMIT_STATUS_NOT_PREPARED;
   auto packetptr = convert_espacket_(packet);