mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-08 18:21:14 +08:00
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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user