[FFmpeg-devel] [PATCH 1/3] lavu: add av_pure to av_int_list_length_for_size.

Nicolas George nicolas.george at normalesup.org
Sat Apr 13 12:04:43 CEST 2013


Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
---
 libavutil/avutil.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/avutil.h b/libavutil/avutil.h
index d71eb1e..fd9bdc8 100644
--- a/libavutil/avutil.h
+++ b/libavutil/avutil.h
@@ -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.
-- 
1.7.10.4



More information about the ffmpeg-devel mailing list