[FFmpeg-devel] [PATCH] Document av_register_{in, out}put_format()

Michael Niedermayer michaelni
Tue May 26 01:03:11 CEST 2009


On Tue, May 26, 2009 at 12:08:58AM +0200, Stefano Sabatini wrote:
> On date Sunday 2009-05-24 22:39:05 +0100, M?ns Rullg?rd encoded:
> > Stefano Sabatini <stefano.sabatini-lala at poste.it> writes:
> > 
> > > On date Sunday 2009-05-24 20:45:30 +0200, Diego Biurrun encoded:
> > >> On Sun, May 24, 2009 at 03:32:42PM +0200, Stefano Sabatini wrote:
> > >> > As in subject.
> > >> > --- ffmpeg.orig/libavformat/avformat.h	2009-05-24 15:29:03.000000000 +0200
> > >> > +++ ffmpeg/libavformat/avformat.h	2009-05-24 15:32:20.000000000 +0200
> > >> > @@ -663,7 +663,15 @@
> > >> > +
> > >> > +/**
> > >> > + * Registers format to the list of the registered input formats.
> > >> 
> > >> I don't think this is better than just
> > >> 
> > >>   Registers input format.
> > >> 
> > >> > + * Registers format to the list of the registered output formats.
> > >> 
> > >> ditto
> > >
> > > Changed to:
> > > "Registers the {in,out}put format format."
> > 
> > IMO "input/output" is easier to read.
> 
> New version, since in:
> "Registers the {in,out}put format format."
> 
> there was a bad duplication "format format", changed to:
> "Registers an {in,out}put format."
> 
> Regards.
> -- 
> FFmpeg = Faithless and Faithful Multimedia Powerful Enlightened Guru

>  avformat.h |    8 ++++++++
>  1 file changed, 8 insertions(+)
> b134a9b11a56ec585e67cf45cd0508795452e302  lavf-document-av-register-io-fmt.patch
> Index: ffmpeg/libavformat/avformat.h
> ===================================================================
> --- ffmpeg.orig/libavformat/avformat.h	2009-05-26 00:02:50.000000000 +0200
> +++ ffmpeg/libavformat/avformat.h	2009-05-26 00:07:07.000000000 +0200
> @@ -663,7 +663,15 @@
>  /* modules. */
>  
>  /* utils.c */
> +
> +/**
> + * Registers an input format.
> + */
>  void av_register_input_format(AVInputFormat *format);
> +
> +/**
> + * Registers an output format.
> + */
>  void av_register_output_format(AVOutputFormat *format);
>  AVOutputFormat *guess_stream_format(const char *short_name,

IMO redundant

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

Democracy is the form of government in which you can choose your dictator
-------------- 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/20090526/34bcac1e/attachment.pgp>



More information about the ffmpeg-devel mailing list