[FFmpeg-devel] [RFC][PATCH 1/3] lavu: Add av_crc2() and av_crc_init2()

Nicolas George nicolas.george at normalesup.org
Sun Jan 27 18:56:31 CET 2013


L'octidi 8 pluviôse, an CCXXI, James Almer a écrit :
> Should I instead create completely separate functions exclusively for CRC64 
> then?

If the code is the same and only the types change, then it can be turned
into a macro (or a template file included twice with different defines) to
have only one copy of the source compiled into two versions of the function.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130127/b102cadb/attachment.asc>


More information about the ffmpeg-devel mailing list