[FFmpeg-devel] [RFC/PATCH] Dealing with 0 padded audio packets

Michael Niedermayer michaelni
Wed May 19 16:28:41 CEST 2010


On Wed, May 19, 2010 at 03:54:51PM +0200, Michael Niedermayer wrote:
[...]
> return buf_size > buf_consumed ? buf_consumed : buf_size;

return FFMIN(buf_consumed, buf_size);

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

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- 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/20100519/16033c65/attachment.pgp>



More information about the ffmpeg-devel mailing list