提交 c19e0ebe 编写于 作者: M Mans Rullgard

lavf: include libavutil/time.h instead of redeclaring av_gettime()

This avoids some warnings about redundant declarations.
Signed-off-by: NMans Rullgard <mans@mansr.com>
上级 1d01fee9
......@@ -201,6 +201,10 @@
#include "avio.h"
#include "libavformat/version.h"
#if FF_API_AV_GETTIME
#include "libavutil/time.h"
#endif
struct AVFormatContext;
......@@ -1635,10 +1639,6 @@ void av_dump_format(AVFormatContext *ic,
const char *url,
int is_output);
#if FF_API_AV_GETTIME
int64_t av_gettime(void);
#endif
/**
* Return in 'buf' the path with '%d' replaced by a number.
*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册