[PATCH 2/2] Document the behavior of av_metadata_get() if the tag parameter is NULL.

Stefano Sabatini stefano.sabatini-lala
Sat Mar 27 12:18:58 CET 2010


---
 libavformat/avformat.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 58978db..3583858 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -131,6 +131,8 @@ typedef struct AVMetadataConv AVMetadataConv;
 /**
  * Gets a metadata element with matching key.
  * @param prev Set to the previous matching element to find the next.
+ * If it is set to NULL, the first matching tag since the beginning
+ * of the metadata context will be returned.
  * @param flags Allows case as well as suffix-insensitive comparisons.
  * @return Found tag or NULL, changing key or value leads to undefined behavior.
  */
-- 
1.7.0


--XOIedfhf+7KOe/yw--



More information about the ffmpeg-devel mailing list