[FFmpeg-devel] [PATCH] dot_product() static non-inline in a header

Aurelien Jacobs aurel
Sun Dec 14 01:45:16 CET 2008


Hi,

dot_product() is declared as static non-inline in celp_math.h, which
generates some warning: 'dot_product' defined but not used.
I'm not sure about the original intention, so here are two different
patches (pick one of them):
 - simply mark this function inline
 - move this function in acelp_pitch_delay.c which is the only
   file using it.

Aurel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dot_product_inline.diff
Type: text/x-diff
Size: 471 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081214/c06cf7d6/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dot_product_move.diff
Type: text/x-diff
Size: 1748 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081214/c06cf7d6/attachment-0001.diff>



More information about the ffmpeg-devel mailing list