[FFmpeg-devel] [PATCH 04/13] Doxygen av_codec_get_id() and av_codec_get_tag().

Stefano Sabatini stefano.sabatini-lala
Sun May 9 16:26:41 CEST 2010


---
 libavformat/avformat.h |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 9928e84..e5e8e1b 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -868,8 +868,20 @@ void av_pkt_dump_log(void *avcl, int level, AVPacket *pkt, int dump_payload);
  */
 void av_register_all(void);
 
-/** codec tag <-> codec id */
+/**
+ * Gets the first CodecID found in tags corresponding to tag.
+ * If no codec id is found returns CODEC_ID_NONE.
+ *
+ * @param tags a list of list of tags
+ */
 enum CodecID av_codec_get_id(const struct AVCodecTag * const *tags, unsigned int tag);
+
+/**
+ * Gets the first codec tag found in tags corresponding to id.
+ * If no codec tag is found returns 0.
+ *
+ * @param tags a list of list of tags
+ */
 unsigned int av_codec_get_tag(const struct AVCodecTag * const *tags, enum CodecID id);
 
 /* media file input */
-- 
1.7.0




More information about the ffmpeg-devel mailing list