[FFmpeg-devel] [PATCH] Remove MULL macro from lsp.c

Vladimir Voroshilov voroshil
Fri Aug 22 20:08:13 CEST 2008


Attached patch replaces MULL macro in lsp.c with multiplication and right shift.
Current code works wrong because one of macro's arguments is int16_t while asm
assumes both of them to be int.

I'll also remove all occurences of MULL macro from my G.729 code.

P.S. Another fix is leaving MULL there but explicitly cast the second
argument to (int).
I don't know which is better.

-- 
Regards,
Vladimir Voroshilov mailto:voroshil at gmail.com
JID: voroshil at gmail.com, voroshil at jabber.ru
ICQ: 95587719
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove_MULL_from_lsp.diff
Type: text/x-diff
Size: 658 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080823/30a971c9/attachment.diff>



More information about the ffmpeg-devel mailing list