# HG changeset patch # User stefano # Date 1269724456 0 # Node ID d80731fed8eed93258ef0b54a99bdf672d7fbbcb # Parent cda7add41fbb19575825a46fb49f66dd646aadf1 Document the behavior of av_metadata_get() if the prev parameter is NULL. diff -r cda7add41fbb -r d80731fed8ee avformat.h --- 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. */