[FFmpeg-devel] Patch--remove redundant cast in png* related file

Michael Niedermayer michaelni
Thu Jul 10 13:16:42 CEST 2008


On Wed, Jul 09, 2008 at 08:36:27PM +0800, avcoder wrote:
> Dear:
> 
> pngdec.c and pngenc.c have some redundant cast. so could we just remove the
> useless cast?

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: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080710/928f55d0/attachment.pgp>



More information about the ffmpeg-devel mailing list