aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2023-12-19 11:15:18 -0300
committerJames Almer <jamrial@gmail.com>2023-12-19 11:15:44 -0300
commit0a87bd02ee6c22384961c68ca4a97f9981043885 (patch)
treea1f9f491068e128ae5f53d93163cdbd1ac7f741b
parent76cd71bf0cfc0f7958d691e5d4577b8f4cca96b2 (diff)
downloadffmpeg-0a87bd02ee6c22384961c68ca4a97f9981043885.tar.gz
avutil/iamf: add missing doxy to free functions
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavutil/iamf.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libavutil/iamf.h b/libavutil/iamf.h
index e03c018169..d03ff7d13b 100644
--- a/libavutil/iamf.h
+++ b/libavutil/iamf.h
@@ -385,6 +385,12 @@ AVIAMFAudioElement *av_iamf_audio_element_alloc(void);
*/
AVIAMFLayer *av_iamf_audio_element_add_layer(AVIAMFAudioElement *audio_element);
+/**
+ * Free an AVIAMFAudioElement and all its contents.
+ *
+ * @param audio_element pointer to pointer to an allocated AVIAMFAudioElement.
+ * upon return, *audio_element will be set to NULL.
+ */
void av_iamf_audio_element_free(AVIAMFAudioElement **audio_element);
/**
@@ -617,6 +623,12 @@ AVIAMFSubmixElement *av_iamf_submix_add_element(AVIAMFSubmix *submix);
*/
AVIAMFSubmixLayout *av_iamf_submix_add_layout(AVIAMFSubmix *submix);
+/**
+ * Free an AVIAMFMixPresentation and all its contents.
+ *
+ * @param mix_presentation pointer to pointer to an allocated AVIAMFMixPresentation.
+ * upon return, *mix_presentation will be set to NULL.
+ */
void av_iamf_mix_presentation_free(AVIAMFMixPresentation **mix_presentation);
/**
* @}