[FFmpeg-cvslog] lavu: add av_pure to av_int_list_length_for_size.

Nicolas George git at videolan.org
Sat Apr 13 20:47:46 CEST 2013


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Sat Apr 13 11:37:16 2013 +0200| [76c8060654f01aa270b9169b884902289a7ebf64] | committer: Nicolas George

lavu: add av_pure to av_int_list_length_for_size.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=76c8060654f01aa270b9169b884902289a7ebf64
---

 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.



More information about the ffmpeg-cvslog mailing list