Browse Source

lavu: add parens to macro argument.

tags/n2.0
Nicolas George 12 years ago
parent
commit
2a1d7ea5f8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavutil/avutil.h

+ 1
- 1
libavutil/avutil.h View File

@@ -271,7 +271,7 @@ unsigned av_int_list_length_for_size(unsigned elsize,
* @return length of the list, in elements, not counting the terminator
*/
#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)

/**
* @}


Loading…
Cancel
Save