FFmpeg
libavutil
dict_internal.h
Go to the documentation of this file.
1
/*
2
* This file is part of FFmpeg.
3
*
4
* FFmpeg is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Lesser General Public
6
* License as published by the Free Software Foundation; either
7
* version 2.1 of the License, or (at your option) any later version.
8
*
9
* FFmpeg is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Lesser General Public License for more details.
13
*
14
* You should have received a copy of the GNU Lesser General Public
15
* License along with FFmpeg; if not, write to the Free Software
16
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
*/
18
19
#ifndef AVUTIL_DICT_INTERNAL_H
20
#define AVUTIL_DICT_INTERNAL_H
21
22
#include <stdint.h>
23
24
#include "
dict.h
"
25
26
/**
27
* Set a dictionary value to an ISO-8601 compliant timestamp string.
28
*
29
* @param dict pointer to a pointer to a dictionary struct. If *dict is NULL
30
* a dictionary struct is allocated and put in *dict.
31
* @param key metadata key
32
* @param timestamp unix timestamp in microseconds
33
* @return <0 on error
34
*/
35
int
avpriv_dict_set_timestamp
(
AVDictionary
**dict,
const
char
*
key
,
int64_t
timestamp);
36
37
#endif
/* AVUTIL_DICT_INTERNAL_H */
int64_t
long long int64_t
Definition:
coverity.c:34
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.
Definition:
dict.c:278
AVDictionary
Definition:
dict.c:34
key
const char * key
Definition:
hwcontext_opencl.c:189
dict.h
Generated on Sun Nov 24 2024 19:22:41 for FFmpeg by
1.8.17