-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Rob, I noticed that libmad count up to 36 in III_reorder to determine the first scale factor band that should be reordered in a mixed block. The attached patch precomputes this. I don't expect it to improve performance in any measurable way but (IMHO) it makes the code a bit easier to read.
Thanks for libmad, Rafael Ávila de Espíndola