[FFmpeg-devel] [PATCH] Document av_[io]format_next() functions

Michael Niedermayer michaelni
Sat Feb 14 16:16:47 CET 2009


On Sat, Feb 14, 2009 at 03:15:19PM +0100, Stefano Sabatini wrote:
> Hi,
> as in subject.
> 
> Regards.
> -- 
> FFmpeg = Fierce and Faboulous Mastodontic Prodigious Erratic Governor

> Index: libavformat/avformat.h
> ===================================================================
> --- libavformat/avformat.h	(revision 17180)
> +++ libavformat/avformat.h	(working copy)
> @@ -687,7 +687,18 @@
>  extern AVOutputFormat *first_oformat;
>  #endif
>  
> +/**
> + * Returns the first registered input format if \p f is NULL,
> + * otherwise the registered input format next to \p f or NULL if \p f
> + * is the last one.
> + */
>  AVInputFormat  *av_iformat_next(AVInputFormat  *f);
> +
> +/**
> + * Returns the first registered output format if \p f is NULL,
> + * otherwise the registered output format next to \p f or NULL if \p f
> + * is the last one.
> + */
>  AVOutputFormat *av_oformat_next(AVOutputFormat *f);

please write this in a way that is readable, i mean
if X then Y
if Z then U
...
not
if X then U
else V if T
then Z



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

The bravest are surely those who have the clearest vision
of what is before them, glory and danger alike, and yet
notwithstanding go out to meet it. -- Thucydides
-------------- 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/20090214/e0b88947/attachment.pgp>



More information about the ffmpeg-devel mailing list