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

James Almer jamrial at gmail.com
Sun Jan 27 20:29:57 CET 2013

On 27/01/13 2:56 PM, Nicolas George wrote:
> 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,

There's more than just type changes (One extra line for crc64 plus some values),
so I'll try to implement it with a template file.


More information about the ffmpeg-devel mailing list