[FFmpeg-devel] [PATCH 2/7] swresample: group all the option constants in a section in doxy

Timothy Gu timothygu99 at gmail.com
Sun Jul 6 18:53:51 CEST 2014


Signed-off-by: Timothy Gu <timothygu99 at gmail.com>
---
 libswresample/swresample.h | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/libswresample/swresample.h b/libswresample/swresample.h
index c62028a..e99929d 100644
--- a/libswresample/swresample.h
+++ b/libswresample/swresample.h
@@ -102,6 +102,13 @@
 #define SWR_CH_MAX 32   ///< Maximum number of channels
 #endif
 
+/**
+ * @name Option constants
+ * These constants are used for the @ref avoptions interface for lswr.
+ * @{
+ *
+ */
+
 #define SWR_FLAG_RESAMPLE 1 ///< Force resampling even if equal sample rate
 //TODO use int resample ?
 //long term TODO can we enable this dynamically?
@@ -137,6 +144,10 @@ enum SwrFilterType {
     SWR_FILTER_TYPE_KAISER,             /**< Kaiser Windowed Sinc */
 };
 
+/**
+ * @}
+ */
+
 typedef struct SwrContext SwrContext;
 
 /**
-- 
1.9.1



More information about the ffmpeg-devel mailing list