From: Sangchul Lee Date: Fri, 18 Dec 2020 08:42:33 +0000 (+0900) Subject: Fix typos of error types at @retval in header file X-Git-Tag: submit/tizen/20210108.020109~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2225c258feef3347c531b03f0983750756bb88e5;p=platform%2Fcore%2Fapi%2Fmediatool.git Fix typos of error types at @retval in header file MEDIA_PACKET_ERROR_* are fixed to MEDIA_FORMAT_ERROR_*. [Version] 0.1.22 [Issue Type] Doxygen Change-Id: Ib619ea6999ce211b6a966da323aecb5a3acb0fc5 Signed-off-by: Sangchul Lee --- diff --git a/include/media_format.h b/include/media_format.h index 51b9d63..758f583 100644 --- a/include/media_format.h +++ b/include/media_format.h @@ -794,7 +794,7 @@ int media_format_get_extra(media_format_h fmt, void **extra_data); * otherwise a negative error value * @retval #MEDIA_FORMAT_ERROR_NONE Successful * @retval #MEDIA_FORMAT_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #MEDIA_PACKET_ERROR_INVALID_OPERATION Invalid operation + * @retval #MEDIA_FORMAT_ERROR_INVALID_OPERATION Invalid operation * @see media_format_get_audio_channel_mask() * @see media_format_channel_positions_to_mask() * @par Example @@ -820,7 +820,7 @@ int media_format_set_audio_channel_mask(media_format_h fmt, uint64_t channel_mas * otherwise a negative error value * @retval #MEDIA_FORMAT_ERROR_NONE Successful * @retval #MEDIA_FORMAT_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #MEDIA_PACKET_ERROR_INVALID_OPERATION Invalid operation + * @retval #MEDIA_FORMAT_ERROR_INVALID_OPERATION Invalid operation * @see media_format_set_audio_channel_mask() * @see media_format_channel_positions_from_mask() * @par Example @@ -847,9 +847,9 @@ int media_format_get_audio_channel_mask(media_format_h fmt, uint64_t *channel_ma * @c false if the given media format is big endian * @return @c 0 on success, * otherwise a negative error value - * @retval #MEDIA_PACKET_ERROR_NONE Successful - * @retval #MEDIA_PACKET_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #MEDIA_PACKET_ERROR_INVALID_OPERATION Invalid operation + * @retval #MEDIA_FORMAT_ERROR_NONE Successful + * @retval #MEDIA_FORMAT_ERROR_INVALID_PARAMETER Invalid parameter + * @retval #MEDIA_FORMAT_ERROR_INVALID_OPERATION Invalid operation * @see media_format_mimetype_e * @see media_format_type_e */ diff --git a/packaging/capi-media-tool.spec b/packaging/capi-media-tool.spec index bba0055..b28f080 100755 --- a/packaging/capi-media-tool.spec +++ b/packaging/capi-media-tool.spec @@ -1,6 +1,6 @@ Name: capi-media-tool Summary: A Core API media tool library in Tizen Native API -Version: 0.1.21 +Version: 0.1.22 Release: 0 Group: Multimedia/API License: Apache-2.0