#include <media_packet_private.h>
#include <media_format_private.h>
-/* NOTE : static internal functions does not check anything on incomming parameters
+/* NOTE : static internal functions does not check anything on incoming parameters
* Caller should takecare it
*/
static int __pkt_init(media_buffer_type_e type, media_format_h fmt, media_packet_finalize_cb fcb, void *fcb_data, media_packet_s **handle);
} else if (handle->type == MEDIA_BUFFER_TYPE_EXTERNAL_TBM_SURFACE || handle->type == MEDIA_BUFFER_TYPE_EXTERNAL_MEMORY) {
/* there is nothing to do, Do not free the buffer which is created by external module. */
} else {
- LOGE("Invalied buffer type"); //LCOV_EXCL_LINE
+ LOGE("Invalid buffer type"); //LCOV_EXCL_LINE
return MEDIA_PACKET_ERROR_INVALID_OPERATION;
}
handle = (media_packet_s *)packet;
- /* finailize callback */
+ /* finalize callback */
if (handle->finalizecb_func) {
int finalize_cb_ret;
finalize_cb_ret = handle->finalizecb_func((media_packet_h)handle, MEDIA_PACKET_ERROR_NONE, handle->userdata);