[Libav-user] ff_log2_tab defined multiple times in the fmpeg 1.1 libraries, bug or feature ??

Lars Hammarstrand lars.hammarstrand at gmail.com
Fri Feb 15 17:26:05 CET 2013


2013/2/15 Lars Hammarstrand <lars.hammarstrand at gmail.com>

> 2013/2/14 "René J.V. Bertin" <rjvbertin at gmail.com>
>
>> Since you clearly have the your-ended problem of working in a context
>> where multiple ff_log2_tabs bite, I suggest the open libavutil/intmath.h ,
>> and on line 53 or so you replace
>>
>>
I'm kind of lazy so I used a slightly different solution. First I placed
ff_log2_tab in libavutil/intmath.c and then I added "extern const uint8_t
ff_log2_tab[256]" to libavutil/log2_tab.c, which meant I only had to change
two files ;-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130215/0dca2b98/attachment.html>


More information about the Libav-user mailing list