[FFmpeg-devel] [PATCH] cmdutils: use macros for device test

Michael Niedermayer michaelni at gmx.at
Sat Dec 13 20:03:22 CET 2014


On Sat, Dec 13, 2014 at 07:54:57PM +0100, Lukasz Marek wrote:
> Signed-off-by: Lukasz Marek <lukasz.m.luki2 at gmail.com>
> ---
>  cmdutils.c | 7 +------
>  1 file changed, 1 insertion(+), 6 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: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141213/31aa89b9/attachment.asc>


More information about the ffmpeg-devel mailing list