[FFmpeg-devel] [PATCH] ffplay: factorize code calling output_packet() in video_thread()

Michael Niedermayer michaelni at gmx.at
Sat Apr 23 02:11:09 CEST 2011


On Fri, Apr 22, 2011 at 12:04:39PM +0200, Stefano Sabatini wrote:
> Slightly simplify.
> 
> Signed-off-by: Stefano Sabatini <stefano.sabatini-lala at poste.it>
> ---
>  ffplay.c |    8 +++-----
>  1 files changed, 3 insertions(+), 5 deletions(-)

ok

[...]
-- 
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/20110423/462f52cf/attachment.asc>


More information about the ffmpeg-devel mailing list