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
e5c70815
Commit
e5c70815
authored
Jan 12, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf: undeprecate read_seek().
The "new seeking API" was never finished and nobody is working on it.
parent
e01a29a4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
avformat.h
libavformat/avformat.h
+3
-4
version.h
libavformat/version.h
+0
-3
No files found.
libavformat/avformat.h
View file @
e5c70815
...
@@ -503,7 +503,6 @@ typedef struct AVInputFormat {
...
@@ -503,7 +503,6 @@ typedef struct AVInputFormat {
*/
*/
int
(
*
read_close
)(
struct
AVFormatContext
*
);
int
(
*
read_close
)(
struct
AVFormatContext
*
);
#if FF_API_READ_SEEK
/**
/**
* Seek to a given timestamp relative to the frames in
* Seek to a given timestamp relative to the frames in
* stream component stream_index.
* stream component stream_index.
...
@@ -512,9 +511,9 @@ typedef struct AVInputFormat {
...
@@ -512,9 +511,9 @@ typedef struct AVInputFormat {
* match is available.
* match is available.
* @return >= 0 on success (but not necessarily the new offset)
* @return >= 0 on success (but not necessarily the new offset)
*/
*/
attribute_deprecated
int
(
*
read_seek
)(
struct
AVFormatContext
*
,
int
(
*
read_seek
)(
struct
AVFormatContext
*
,
int
stream_index
,
int64_t
timestamp
,
int
flags
);
int
stream_index
,
int64_t
timestamp
,
int
flags
);
#endif
/**
/**
* Get the next timestamp in stream[stream_index].time_base units.
* Get the next timestamp in stream[stream_index].time_base units.
* @return the timestamp or AV_NOPTS_VALUE if an error occurred
* @return the timestamp or AV_NOPTS_VALUE if an error occurred
...
...
libavformat/version.h
View file @
e5c70815
...
@@ -50,9 +50,6 @@
...
@@ -50,9 +50,6 @@
#ifndef FF_API_OLD_METADATA2
#ifndef FF_API_OLD_METADATA2
#define FF_API_OLD_METADATA2 (LIBAVFORMAT_VERSION_MAJOR < 54)
#define FF_API_OLD_METADATA2 (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#endif
#ifndef FF_API_READ_SEEK
#define FF_API_READ_SEEK (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_OLD_AVIO
#ifndef FF_API_OLD_AVIO
#define FF_API_OLD_AVIO (LIBAVFORMAT_VERSION_MAJOR < 54)
#define FF_API_OLD_AVIO (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#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