[FFmpeg-devel] [PATCH] lavu/dict.h: apply various fixes/extensions to doxy
Stefano Sabatini
stefasab at gmail.com
Fri Nov 22 13:26:34 CET 2013
On date Thursday 2013-11-21 12:46:32 +0100, Clément Bœsch encoded:
> On Wed, Nov 20, 2013 at 05:44:55PM +0100, Stefano Sabatini wrote:
> > In particular, document AV_DICT_MATCH_CASE, AV_DICT_IGNORE_SUFFIX, and
> > extend documentation for av_dict_get().
> > ---
> > libavutil/dict.h | 13 +++++++++----
> > 1 file changed, 9 insertions(+), 4 deletions(-)
> >
> > diff --git a/libavutil/dict.h b/libavutil/dict.h
> > index 38f03a4..1381bcb 100644
> > --- a/libavutil/dict.h
> > +++ b/libavutil/dict.h
> > @@ -64,12 +64,13 @@
> > *
> > */
> >
> > -#define AV_DICT_MATCH_CASE 1
> > -#define AV_DICT_IGNORE_SUFFIX 2
> > +#define AV_DICT_MATCH_CASE 1 /**< Only get an entry with exact-case key match. Only relevant in av_dict_get(). */
> > +#define AV_DICT_IGNORE_SUFFIX 2 /**< Return first entry in a dictionary whose first part corresponds to the search key,
> > + ignoring the suffix of the found key string. Only relevant in av_dict_get(). */
> > #define AV_DICT_DONT_STRDUP_KEY 4 /**< Take ownership of a key that's been
> > - allocated with av_malloc() and children. */
> > + allocated with av_malloc() or another memory allocation function. */
> > #define AV_DICT_DONT_STRDUP_VAL 8 /**< Take ownership of a value that's been
> > - allocated with av_malloc() and chilren. */
> > + allocated with av_malloc() or another memory allocation function. */
>
> Did you check if this allocation was correct btw? Since we can't mix our malloc & realloc...
How is this related to this patch?
[...]
--
FFmpeg = Free and Fabulous Maxi Puritan EnGraver
More information about the ffmpeg-devel
mailing list