[FFmpeg-devel] [PATCH v3 10/54] avutil/channel_layout: Group deprecated functions

Marvin Scholz epirat07 at gmail.com
Sun Sep 25 03:10:37 EEST 2022


Makes it a bit easier to spot the deprecated ones when
looking at the overview.
---
 libavutil/channel_layout.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/libavutil/channel_layout.h b/libavutil/channel_layout.h
index 070c98072b..52af52390c 100644
--- a/libavutil/channel_layout.h
+++ b/libavutil/channel_layout.h
@@ -394,6 +394,11 @@ typedef struct AVChannelLayout {
 struct AVBPrint;
 
 #if FF_API_OLD_CHANNEL_LAYOUT
+/**
+ * @name Depreacted Functins
+ * @{
+ */
+
 /**
  * Return a channel layout id that matches name, or 0 if no match is found.
  *
@@ -520,6 +525,9 @@ const char *av_get_channel_description(uint64_t channel);
 attribute_deprecated
 int av_get_standard_channel_layout(unsigned index, uint64_t *layout,
                                    const char **name);
+/**
+ * @}
+ */
 #endif
 
 /**
-- 
2.37.0 (Apple Git-136)



More information about the ffmpeg-devel mailing list