typedef void (*mediacodec_output_buffer_available_cb)(media_packet_h packet, void *user_data);
/**
- * @brief Called when the error has occured.
- * @details It will be invoked when the error has occured.
+ * @brief Called when the error has occurred.
+ * @details It will be invoked when the error has occurred.
* Following error codes can be delivered.
* #MEDIACODEC_ERROR_INTERNAL,
* #MEDIACODEC_ERROR_INVALID_STREAM,
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @param[in] error The error code
* @param[in] user_data The user data passed from the callback registration function
- * @pre It will be invoked when the error has occured if you register this callback using mediacodec_set_error_cb().
+ * @pre It will be invoked when the error has occurred if you register this callback using mediacodec_set_error_cb().
* @see mediacodec_set_error_cb()
* @see mediacodec_unset_error_cb()
*/