[FFmpeg-cvslog] r15619 - trunk/libavutil/common.h
Benoit Fouet
ml_benoitfouet
Wed Oct 15 10:06:25 CEST 2008
Stefano Sabatini wrote:
> On date Wednesday 2008-10-15 09:24:55 +0200, benoit wrote:
>
>> Author: benoit
>> Date: Wed Oct 15 09:24:54 2008
>> New Revision: 15619
>>
>> Log:
>> Add a macro to get the number of element in a table.
>>
>>
>> Modified:
>> trunk/libavutil/common.h
>>
>> Modified: trunk/libavutil/common.h
>> ==============================================================================
>> --- trunk/libavutil/common.h (original)
>> +++ trunk/libavutil/common.h Wed Oct 15 09:24:54 2008
>> @@ -116,6 +116,7 @@
>> #define FFMIN3(a,b,c) FFMIN(FFMIN(a,b),c)
>>
>> #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0)
>> +#define FF_ARRAY_ELEMS(a) (sizeof(a) / sizeof((a)[0]))
>>
>> /* misc math functions */
>> extern const uint8_t ff_log2_tab[256];
>>
>
> Minor bump missing.
>
>
fixed, thanks.
--
Benoit Fouet
Purple Labs S.A.
www.purplelabs.com
More information about the ffmpeg-cvslog
mailing list