lavu: add av_pure to av_int_list_length_for_size.
authorNicolas George <nicolas.george@normalesup.org>
Sat, 13 Apr 2013 09:37:16 +0000 (11:37 +0200)
committerNicolas George <nicolas.george@normalesup.org>
Sat, 13 Apr 2013 18:19:24 +0000 (20:19 +0200)
libavutil/avutil.h

index d71eb1e..fd9bdc8 100644 (file)
@@ -261,7 +261,7 @@ static inline void *av_x_if_null(const void *p, const void *x)
  * @return  length of the list, in elements, not counting the terminator
  */
 unsigned av_int_list_length_for_size(unsigned elsize,
-                                     const void *list, uint64_t term);
+                                     const void *list, uint64_t term) av_pure;
 
 /**
  * Compute the length of an integer list.