Commit 2a1d7ea5 authored by Nicolas George's avatar Nicolas George

lavu: add parens to macro argument.

parent 76c80606
...@@ -271,7 +271,7 @@ unsigned av_int_list_length_for_size(unsigned elsize, ...@@ -271,7 +271,7 @@ unsigned av_int_list_length_for_size(unsigned elsize,
* @return length of the list, in elements, not counting the terminator * @return length of the list, in elements, not counting the terminator
*/ */
#define av_int_list_length(list, term) \ #define av_int_list_length(list, term) \
av_int_list_length_for_size(sizeof(*list), list, term) av_int_list_length_for_size(sizeof(*(list)), list, term)
/** /**
* @} * @}
......
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