Commit e547a39e authored by benoit's avatar benoit

Add a macro to get the number of element in a table.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15619 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 056d41b0
......@@ -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];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment