[FFmpeg-devel] [PATCH] Description of avcodec_encode_audio()
John Fletcher
john.fletcher
Thu Apr 2 14:40:32 CEST 2009
> -----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?
One thing that could be clarified is the distinction (if any) between actual size of the buffer and the value of buf_size.
Maybe you have some better wording to suggest?
John
More information about the ffmpeg-devel
mailing list