[FFmpeg-devel] [PATCH] doc: add libavutil.texi

Clément Bœsch ubitux at gmail.com
Wed Nov 7 13:09:36 CET 2012


On Sun, Nov 04, 2012 at 12:47:16PM +0100, Stefano Sabatini wrote:
> ---
>  doc/Makefile        |    2 +-
>  doc/libavcodec.texi |    2 +-
>  doc/libavutil.texi  |   39 +++++++++++++++++++++++++++++++++++++++
>  3 files changed, 41 insertions(+), 2 deletions(-)
>  create mode 100644 doc/libavutil.texi
> 
> diff --git a/doc/Makefile b/doc/Makefile
> index a5577ac..09d4543 100644
> --- a/doc/Makefile
> +++ b/doc/Makefile
> @@ -1,5 +1,5 @@
>  ifeq ($(CONFIG_AVCODEC),yes)
> -DOCLIBS += libavcodec
> +DOCLIBS += libavutil libavcodec
>  endif
>  

You're adding libavutil to DOCLIBS depending on lavc presence.

BTW, I think using the common DOCLIBS-$(CONFIG_AVCODEC) += libavcodec
trick would be better.

>  MANPAGES    = $(PROGS-yes:%=doc/%.1)    $(DOCLIBS:%=doc/%.3)
> diff --git a/doc/libavcodec.texi b/doc/libavcodec.texi
> index 5fb6b74..535bcfa 100644
> --- a/doc/libavcodec.texi
> +++ b/doc/libavcodec.texi
> @@ -1112,7 +1112,7 @@ Set sample format audio decoders should prefer. Default value is
>  @settitle multimedia streams decoding and encoding library
>  
>  @c man begin SEEALSO
> -ffmpeg(1), ffplay(1), ffprobe(1), ffserver(1)
> +ffmpeg(1), ffplay(1), ffprobe(1), ffserver(1), libavutil(3)
>  @c man end
>  
>  @c man begin AUTHORS
> diff --git a/doc/libavutil.texi b/doc/libavutil.texi
> new file mode 100644
> index 0000000..cb06526
> --- /dev/null
> +++ b/doc/libavutil.texi
> @@ -0,0 +1,39 @@
> +\input texinfo @c -*- texinfo -*-
> +
> + at settitle Libavutil Documentation
> + at titlepage
> + at center @titlefont{Libavutil Documentation}
> + at end titlepage
> +
> + at top
> +
> + at contents
> +
> + at chapter Description
> + at c man begin DESCRIPTION
> +
> +libavutil is a library containing functions for simplifying
> +programming, including random number generators, data structures,
> +mathematics routines, core multimedia utilities, and much more.
> +

You could mention crypto/crc too.

> + at c man end DESCRIPTION
> +
> + at include syntax.texi
> + at include eval.texi
> +
> + at ignore
> +
> + at setfilename libavutil
> + at settitle multimedia core utiltities library
> +

Strange word.

> + at c man begin SEEALSO
> +ffmpeg(1), ffplay(1), ffprobe(1), ffserver(1)
> + at c man end
> +
> + at c man begin AUTHORS
> +See git history
> + at c man end
> +
> + at end ignore
> +
> + at bye

Rest LGTM

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121107/ebdfbbe2/attachment.asc>


More information about the ffmpeg-devel mailing list