[FFmpeg-devel] [PATCH] Remove pointless per-frame malloc/free.

Michael Niedermayer michaelni at gmx.at
Sun Oct 30 14:12:14 CET 2011


On Sat, Oct 29, 2011 at 01:40:27PM +0200, Reimar Döffinger wrote:
> Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> ---
>  libavcodec/proresenc.c |   20 ++++++++------------
>  1 files changed, 8 insertions(+), 12 deletions(-)

LGTM

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

Its not that you shouldnt use gotos but rather that you should write
readable code and code with gotos often but not always is less readable
-------------- 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/20111030/c1a4e42b/attachment.asc>


More information about the ffmpeg-devel mailing list