[MPlayer-dev-eng] [PATCH] mp3lib/tabinit_MMX.c: remove redundant code

Zuxy Meng zuxy.meng at gmail.com
Fri May 18 16:17:24 CEST 2007


Hi,

The first part of tabinit_MMX.c:make_decode_tables_MMX() computes
mp3lib_decwin, which has already been initialized by
tabinit.c:make_decode_tables() (see sr1.c:MP3_Init(),
make_decode_tables is called regardless whether MMX is available), so
it's totally redundant. After applying the patch,
make_decode_tables_MMX() will only initialize mp3lib_decwins.

Tested to confirm that mp3lib_decwin doesn't change a bit and the
decoded output is identical.
-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tabinit_MMX.c.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070518/aaaecd23/attachment.txt>


More information about the MPlayer-dev-eng mailing list