aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2013-04-13 11:47:27 +0200
committerNicolas George <nicolas.george@normalesup.org>2013-04-13 20:19:24 +0200
commit2a1d7ea5f8ba71e1ed96c17414f8d106c006d87a (patch)
treeb6db3842ab30648b3c627eed83ffb75691862425 /libavutil
parent76c8060654f01aa270b9169b884902289a7ebf64 (diff)
downloadffmpeg-2a1d7ea5f8ba71e1ed96c17414f8d106c006d87a.tar.gz
lavu: add parens to macro argument.
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/avutil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/avutil.h b/libavutil/avutil.h
index fd9bdc88a7..6f307d6c5d 100644
--- a/libavutil/avutil.h
+++ b/libavutil/avutil.h
@@ -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)
/**
* @}