Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
ecd5f41a
Commit
ecd5f41a
authored
Jan 12, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf: remove disabled FF_API_PARSE_DATE cruft
parent
997420ab
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
26 deletions
+0
-26
avformat.h
libavformat/avformat.h
+0
-12
utils.c
libavformat/utils.c
+0
-11
version.h
libavformat/version.h
+0
-3
No files found.
libavformat/avformat.h
View file @
ecd5f41a
...
...
@@ -1737,18 +1737,6 @@ void av_dump_format(AVFormatContext *ic,
const
char
*
url
,
int
is_output
);
#if FF_API_PARSE_DATE
/**
* Parse datestr and return a corresponding number of microseconds.
*
* @param datestr String representing a date or a duration.
* See av_parse_time() for the syntax of the provided string.
* @deprecated in favor of av_parse_time()
*/
attribute_deprecated
int64_t
parse_date
(
const
char
*
datestr
,
int
duration
);
#endif
/**
* Get the current time in microseconds.
*/
...
...
libavformat/utils.c
View file @
ecd5f41a
...
...
@@ -3373,17 +3373,6 @@ uint64_t ff_ntp_time(void)
return
(
av_gettime
()
/
1000
)
*
1000
+
NTP_OFFSET_US
;
}
#if FF_API_PARSE_DATE
#include "libavutil/parseutils.h"
int64_t
parse_date
(
const
char
*
timestr
,
int
duration
)
{
int64_t
timeval
;
av_parse_time
(
&
timeval
,
timestr
,
duration
);
return
timeval
;
}
#endif
#if FF_API_FIND_INFO_TAG
#include "libavutil/parseutils.h"
...
...
libavformat/version.h
View file @
ecd5f41a
...
...
@@ -47,9 +47,6 @@
* Those FF_API_* defines are not part of public API.
* They may change, break or disappear at any time.
*/
#ifndef FF_API_PARSE_DATE
#define FF_API_PARSE_DATE (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_FIND_INFO_TAG
#define FF_API_FIND_INFO_TAG (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment