avformat/utils: Move creation-time functions to mux_utils
Only used by muxers. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
533836b8e0
commit
d78838414b
13 changed files with 60 additions and 51 deletions
|
@ -881,26 +881,6 @@ void ff_format_io_close_default(AVFormatContext *s, AVIOContext *pb);
|
|||
*/
|
||||
int ff_is_http_proto(const char *filename);
|
||||
|
||||
/**
|
||||
* Parse creation_time in AVFormatContext metadata if exists and warn if the
|
||||
* parsing fails.
|
||||
*
|
||||
* @param s AVFormatContext
|
||||
* @param timestamp parsed timestamp in microseconds, only set on successful parsing
|
||||
* @param return_seconds set this to get the number of seconds in timestamp instead of microseconds
|
||||
* @return 1 if OK, 0 if the metadata was not present, AVERROR(EINVAL) on parse error
|
||||
*/
|
||||
int ff_parse_creation_time_metadata(AVFormatContext *s, int64_t *timestamp, int return_seconds);
|
||||
|
||||
/**
|
||||
* Standardize creation_time metadata in AVFormatContext to an ISO-8601
|
||||
* timestamp string.
|
||||
*
|
||||
* @param s AVFormatContext
|
||||
* @return <0 on error
|
||||
*/
|
||||
int ff_standardize_creation_time(AVFormatContext *s);
|
||||
|
||||
struct AVBPrint;
|
||||
/**
|
||||
* Finalize buf into extradata and set its size appropriately.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue