diff avformat.h @ 5899:d80731fed8ee libavformat

Document the behavior of av_metadata_get() if the prev parameter is NULL.
author stefano
date Sat, 27 Mar 2010 21:14:16 +0000
parents 38b67ae3f07d
children 5564d7f2ed5a
line wrap: on
line diff
--- a/avformat.h	Sat Mar 27 19:10:24 2010 +0000
+++ b/avformat.h	Sat Mar 27 21:14:16 2010 +0000
@@ -131,6 +131,7 @@
 /**
  * Gets a metadata element with matching key.
  * @param prev Set to the previous matching element to find the next.
+ *             If set to NULL the first matching element is returned.
  * @param flags Allows case as well as suffix-insensitive comparisons.
  * @return Found tag or NULL, changing key or value leads to undefined behavior.
  */