[FFmpeg-cvslog] r23102 - trunk/libavformat/avformat.h

stefano subversion
Thu May 13 00:17:30 CEST 2010


Author: stefano
Date: Thu May 13 00:17:29 2010
New Revision: 23102

Log:
Doxygen av_codec_get_id() and av_codec_get_tag().

Modified:
   trunk/libavformat/avformat.h

Modified: trunk/libavformat/avformat.h
==============================================================================
--- trunk/libavformat/avformat.h	Wed May 12 19:05:56 2010	(r23101)
+++ trunk/libavformat/avformat.h	Thu May 13 00:17:29 2010	(r23102)
@@ -868,8 +868,22 @@ void av_pkt_dump_log(void *avcl, int lev
  */
 void av_register_all(void);
 
-/** codec tag <-> codec id */
+/**
+ * Gets the CodecID for the given codec tag tag.
+ * If no codec id is found returns CODEC_ID_NONE.
+ *
+ * @param tags list of supported codec_id-codec_tag pairs, as stored
+ * in AVInputFormat.codec_tag and AVOutputFormat.codec_tag
+ */
 enum CodecID av_codec_get_id(const struct AVCodecTag * const *tags, unsigned int tag);
+
+/**
+ * Gets the codec tag for the given codec id id.
+ * If no codec tag is found returns 0.
+ *
+ * @param tags list of supported codec_id-codec_tag pairs, as stored
+ * in AVInputFormat.codec_tag and AVOutputFormat.codec_tag
+ */
 unsigned int av_codec_get_tag(const struct AVCodecTag * const *tags, enum CodecID id);
 
 /* media file input */



More information about the ffmpeg-cvslog mailing list