diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 072be39632..89b3b2fd70 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -1034,6 +1034,7 @@ attribute_deprecated int parse_frame_rate(int *frame_rate, int *frame_rate_base, */ int64_t parse_date(const char *datestr, int duration); +/** Gets the current time in microseconds. */ int64_t av_gettime(void); /* ffm specific for ffserver */ diff --git a/libavformat/utils.c b/libavformat/utils.c index 8938c499f5..f6101e33b4 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2853,9 +2853,6 @@ int parse_frame_rate(int *frame_rate_num, int *frame_rate_den, const char *arg) return ret; } -/** - * Gets the current time in microseconds. - */ int64_t av_gettime(void) { struct timeval tv;