This avoids some warnings about redundant declarations.
Unified · Split
| @@ -201,6 +201,10 @@ · 200 unmodified lines | |||
| 201 | #include "avio.h" | 201 | #include "avio.h" |
| 202 | #include "libavformat/version.h" | 202 | #include "libavformat/version.h" |
| 203 | 203 | ||
| 204 | #if FF_API_AV_GETTIME | ||
| 205 | #include "libavutil/time.h" | ||
| 206 | #endif | ||
| 207 | |||
| 204 | struct AVFormatContext; | 208 | struct AVFormatContext; |
| 205 | 209 | ||
| 206 | 210 | ||
| @@ -1635,10 +1639,6 @@ void av_dump_format(AVFormatContext *ic, · 1428 unmodified lines | |||
| 1635 | const char *url, | 1639 | const char *url, |
| 1636 | int is_output); | 1640 | int is_output); |
| 1637 | 1641 | ||
| 1638 | #if FF_API_AV_GETTIME | ||
| 1639 | int64_t av_gettime(void); | ||
| 1640 | #endif | ||
| 1641 | |||
| 1642 | /** | 1642 | /** |
| 1643 | * Return in 'buf' the path with '%d' replaced by a number. | 1643 | * Return in 'buf' the path with '%d' replaced by a number. |
| 1644 | * | 1644 | * |