[FFmpeg-devel] [PATCH] Description of avcodec_encode_audio()

Michael Niedermayer michaelni
Thu Apr 2 19:30:03 CEST 2009


On Thu, Apr 02, 2009 at 01:40:32PM +0100, John Fletcher wrote:
>  
> 
> > -----Original Message-----
> > > Index: libavcodec/avcodec.h
> > > ===================================================================
> > > --- libavcodec/avcodec.h	(revision 18313)
> > > +++ libavcodec/avcodec.h	(working copy)
> > > @@ -3063,6 +3063,9 @@
> > >   * stored in output buffer \p buf.
> > >   *
> > >   * @note The output buffer should be at least \c 
> > FF_MIN_BUFFER_SIZE bytes large.
> > > + * However, for PCM audio the user will know how much 
> > space is needed
> > > + * because it depends on the passed in \p buf_size as 
> > described below.
> > > + * In that case a lower value can be used.
> > >   *
> > 
> > this is not equivalent to what i said
> > 
> 
> It was my interpretation of the situation.  Is there something incorrect in what I say?

"the user will" the author of the docs does not know that
"pcm" there is nothing pcm specific

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

Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- 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/20090402/b31765d6/attachment.pgp>



More information about the ffmpeg-devel mailing list