[FFmpeg-devel] [PATCH] lavu/samplefmt: return the size of the allocated samples buffer at the next bump

Michael Niedermayer michaelni at gmx.at
Sun Nov 25 21:54:10 CET 2012


On Sun, Nov 25, 2012 at 08:28:17PM +0100, Stefano Sabatini wrote:
> Returning the size allows to simplify the code, avoiding a few function
> calls.
> ---
>  libavcodec/avcodec.h  |    4 +++-
>  libavutil/samplefmt.c |    8 ++++++++
>  libavutil/samplefmt.h |    7 +++++--
>  libavutil/version.h   |    3 +++
>  4 files changed, 19 insertions(+), 3 deletions(-)

LGTM

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

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121125/65e4d77f/attachment.asc>


More information about the ffmpeg-devel mailing list