From 66b6c7458ecf2886f5cae5ad8287e37144ab50ac Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sat, 27 Mar 2010 21:14:16 +0000 Subject: Document the behavior of av_metadata_get() if the prev parameter is NULL. Originally committed as revision 22704 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/avformat.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat') diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 58978db669..4ec9452310 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -131,6 +131,7 @@ typedef struct AVMetadataConv AVMetadataConv; /** * 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. */ -- cgit v1.2.3