Browse Source

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>
tags/n1.0
Mans Rullgard 13 years ago
parent
commit
c19e0ebe53
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      libavformat/avformat.h

+ 4
- 4
libavformat/avformat.h View File

@@ -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.
*


Loading…
Cancel
Save