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

Michael Niedermayer michaelni
Sun May 9 23:23:16 CEST 2010


On Sun, May 09, 2010 at 04:26:41PM +0200, Stefano Sabatini wrote:
> ---
>  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
> + */

Gets the CodecID for the given tag.
beyond that you describe the private implementation. That can be desribed
too but not in a public header.


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100509/b3638ee4/attachment.pgp>



More information about the ffmpeg-devel mailing list