[FFmpeg-devel] [PATCH] Replace if ... else if chain with switch .. case

Diego 'Flameeyes' Pettenò flameeyes
Tue Jan 8 14:35:07 CET 2008


The attached patch replaces a series of if .. else if in postprocess.c
with a single switch case statement. As it is, it depends on the
filters-rodata patch I sent earlier today.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libpostproc-switch-case.patch
Type: text/x-patch
Size: 3621 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080108/a1affc15/attachment.bin>
-------------- next part --------------


-- 
Diego "Flameeyes" Petten?
http://farragut.flameeyes.is-a-geek.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080108/a1affc15/attachment.pgp>



More information about the ffmpeg-devel mailing list