FFmpeg
Functions
dict_internal.h File Reference
#include <stdint.h>
#include "dict.h"

Go to the source code of this file.

Functions

int avpriv_dict_set_timestamp (AVDictionary **dict, const char *key, int64_t timestamp)
 Set a dictionary value to an ISO-8601 compliant timestamp string. More...
 

Function Documentation

◆ avpriv_dict_set_timestamp()

int avpriv_dict_set_timestamp ( AVDictionary **  dict,
const char *  key,
int64_t  timestamp 
)

Set a dictionary value to an ISO-8601 compliant timestamp string.

Parameters
dictpointer to a pointer to a dictionary struct. If *dict is NULL a dictionary struct is allocated and put in *dict.
keymetadata key
timestampunix timestamp in microseconds
Returns
<0 on error

Definition at line 280 of file dict.c.

Referenced by amf_parse_object(), ff_standardize_creation_time(), matroska_parse_flac(), mov_metadata_creation_time(), and parse_header().