@ -115,6 +115,9 @@ int av_dict_count(const AVDictionary *m);
/**
/**
* Set the given entry in * pm , overwriting an existing entry .
* Set the given entry in * pm , overwriting an existing entry .
*
*
* Note : If AV_DICT_DONT_STRDUP_KEY or AV_DICT_DONT_STRDUP_VAL is set ,
* these arguments will be freed on error .
*
* @ param pm pointer to a pointer to a dictionary struct . If * pm is NULL
* @ param pm pointer to a pointer to a dictionary struct . If * pm is NULL
* a dictionary struct is allocated and put in * pm .
* a dictionary struct is allocated and put in * pm .
* @ param key entry key to add to * pm ( will be av_strduped depending on flags )
* @ param key entry key to add to * pm ( will be av_strduped depending on flags )
@ -127,6 +130,8 @@ int av_dict_set(AVDictionary **pm, const char *key, const char *value, int flags
/**
/**
* Convenience wrapper for av_dict_set that converts the value to a string
* Convenience wrapper for av_dict_set that converts the value to a string
* and stores it .
* and stores it .
*
* Note : If AV_DICT_DONT_STRDUP_KEY is set , key will be freed on error .
*/
*/
int av_dict_set_int ( AVDictionary * * pm , const char * key , int64_t value , int flags ) ;
int av_dict_set_int ( AVDictionary * * pm , const char * key , int64_t value , int flags ) ;