summaryrefslogtreecommitdiff
path: root/vpx
diff options
context:
space:
mode:
authorWan-Teh Chang <wtc@google.com>2023-03-20 16:05:11 -0700
committerJames Zern <jzern@google.com>2023-03-23 17:54:35 -0700
commit5817bce969f2845493f22f85ca5f19c70adc1c2f (patch)
tree8ac09990ed501f9f84506197af6123b975540109 /vpx
parent81250791dd26fea9c1b759470514ec01d315662f (diff)
downloadlibvpx-5817bce969f2845493f22f85ca5f19c70adc1c2f.tar.gz
Fix comment typos (likely copy-and-paste errors)
Fix comment typos for vpx_codec_destroy() and vpx_codec_enc_init_ver(). Based on the change made in libaom: https://aomedia.googlesource.com/aom/+/365a968684 365a968684 Fix comment typos (likely copy-and-paste errors) Change-Id: I39edae835ed0752b569e8e7328d0709c59724ac2
Diffstat (limited to 'vpx')
-rw-r--r--vpx/vpx_codec.h8
-rw-r--r--vpx/vpx_decoder.h2
-rw-r--r--vpx/vpx_encoder.h2
3 files changed, 7 insertions, 5 deletions
diff --git a/vpx/vpx_codec.h b/vpx/vpx_codec.h
index b0a931e01..11bf8aaa2 100644
--- a/vpx/vpx_codec.h
+++ b/vpx/vpx_codec.h
@@ -345,9 +345,11 @@ const char *vpx_codec_error_detail(vpx_codec_ctx_t *ctx);
* \param[in] ctx Pointer to this instance's context
*
* \retval #VPX_CODEC_OK
- * The codec algorithm initialized.
- * \retval #VPX_CODEC_MEM_ERROR
- * Memory allocation failed.
+ * The codec instance has been destroyed.
+ * \retval #VPX_CODEC_INVALID_PARAM
+ * ctx is a null pointer.
+ * \retval #VPX_CODEC_ERROR
+ * Codec context not initialized.
*/
vpx_codec_err_t vpx_codec_destroy(vpx_codec_ctx_t *ctx);
diff --git a/vpx/vpx_decoder.h b/vpx/vpx_decoder.h
index 39e5f585f..99dd8cf69 100644
--- a/vpx/vpx_decoder.h
+++ b/vpx/vpx_decoder.h
@@ -127,7 +127,7 @@ typedef struct vpx_codec_dec_cfg {
* \param[in] ver ABI version number. Must be set to
* VPX_DECODER_ABI_VERSION
* \retval #VPX_CODEC_OK
- * The decoder algorithm initialized.
+ * The decoder algorithm has been initialized.
* \retval #VPX_CODEC_MEM_ERROR
* Memory allocation failed.
*/
diff --git a/vpx/vpx_encoder.h b/vpx/vpx_encoder.h
index efaf5ef36..a0d2c8755 100644
--- a/vpx/vpx_encoder.h
+++ b/vpx/vpx_encoder.h
@@ -906,7 +906,7 @@ vpx_codec_err_t vpx_codec_enc_init_ver(vpx_codec_ctx_t *ctx,
* \param[in] ver ABI version number. Must be set to
* VPX_ENCODER_ABI_VERSION
* \retval #VPX_CODEC_OK
- * The decoder algorithm initialized.
+ * The encoder algorithm has been initialized.
* \retval #VPX_CODEC_MEM_ERROR
* Memory allocation failed.
*/