You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
lavf: include libavutil/time.h instead of redeclaring av_gettime()
This avoids some warnings about redundant declarations. Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
@@ -201,6 +201,10 @@
|
|||||||
#include "avio.h"
|
#include "avio.h"
|
||||||
#include "libavformat/version.h"
|
#include "libavformat/version.h"
|
||||||
|
|
||||||
|
#if FF_API_AV_GETTIME
|
||||||
|
#include "libavutil/time.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
struct AVFormatContext;
|
struct AVFormatContext;
|
||||||
|
|
||||||
|
|
||||||
@@ -1635,10 +1639,6 @@ void av_dump_format(AVFormatContext *ic,
|
|||||||
const char *url,
|
const char *url,
|
||||||
int is_output);
|
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.
|
* Return in 'buf' the path with '%d' replaced by a number.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user