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
fd87ba32
Commit
fd87ba32
authored
Jan 12, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf: remove disabled FF_API_SEEK_PUBLIC cruft
parent
bd4c5131
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
43 deletions
+0
-43
avformat.h
libavformat/avformat.h
+0
-15
utils.c
libavformat/utils.c
+0
-25
version.h
libavformat/version.h
+0
-3
No files found.
libavformat/avformat.h
View file @
fd87ba32
...
@@ -1386,21 +1386,6 @@ void av_set_pts_info(AVStream *s, int pts_wrap_bits,
...
@@ -1386,21 +1386,6 @@ void av_set_pts_info(AVStream *s, int pts_wrap_bits,
#define AVSEEK_FLAG_ANY 4 ///< seek to any frame, even non-keyframes
#define AVSEEK_FLAG_ANY 4 ///< seek to any frame, even non-keyframes
#define AVSEEK_FLAG_FRAME 8 ///< seeking based on frame number
#define AVSEEK_FLAG_FRAME 8 ///< seeking based on frame number
#if FF_API_SEEK_PUBLIC
attribute_deprecated
int
av_seek_frame_binary
(
AVFormatContext
*
s
,
int
stream_index
,
int64_t
target_ts
,
int
flags
);
attribute_deprecated
void
av_update_cur_dts
(
AVFormatContext
*
s
,
AVStream
*
ref_st
,
int64_t
timestamp
);
attribute_deprecated
int64_t
av_gen_search
(
AVFormatContext
*
s
,
int
stream_index
,
int64_t
target_ts
,
int64_t
pos_min
,
int64_t
pos_max
,
int64_t
pos_limit
,
int64_t
ts_min
,
int64_t
ts_max
,
int
flags
,
int64_t
*
ts_ret
,
int64_t
(
*
read_timestamp
)(
struct
AVFormatContext
*
,
int
,
int64_t
*
,
int64_t
));
#endif
/**
/**
* @addtogroup lavf_encoding
* @addtogroup lavf_encoding
* @{
* @{
...
...
libavformat/utils.c
View file @
fd87ba32
...
@@ -1283,13 +1283,6 @@ void ff_read_frame_flush(AVFormatContext *s)
...
@@ -1283,13 +1283,6 @@ void ff_read_frame_flush(AVFormatContext *s)
}
}
}
}
#if FF_API_SEEK_PUBLIC
void
av_update_cur_dts
(
AVFormatContext
*
s
,
AVStream
*
ref_st
,
int64_t
timestamp
)
{
ff_update_cur_dts
(
s
,
ref_st
,
timestamp
);
}
#endif
void
ff_update_cur_dts
(
AVFormatContext
*
s
,
AVStream
*
ref_st
,
int64_t
timestamp
)
void
ff_update_cur_dts
(
AVFormatContext
*
s
,
AVStream
*
ref_st
,
int64_t
timestamp
)
{
{
int
i
;
int
i
;
...
@@ -1411,12 +1404,6 @@ int av_index_search_timestamp(AVStream *st, int64_t wanted_timestamp,
...
@@ -1411,12 +1404,6 @@ int av_index_search_timestamp(AVStream *st, int64_t wanted_timestamp,
wanted_timestamp
,
flags
);
wanted_timestamp
,
flags
);
}
}
#if FF_API_SEEK_PUBLIC
int
av_seek_frame_binary
(
AVFormatContext
*
s
,
int
stream_index
,
int64_t
target_ts
,
int
flags
){
return
ff_seek_frame_binary
(
s
,
stream_index
,
target_ts
,
flags
);
}
#endif
int
ff_seek_frame_binary
(
AVFormatContext
*
s
,
int
stream_index
,
int64_t
target_ts
,
int
flags
)
int
ff_seek_frame_binary
(
AVFormatContext
*
s
,
int
stream_index
,
int64_t
target_ts
,
int
flags
)
{
{
AVInputFormat
*
avif
=
s
->
iformat
;
AVInputFormat
*
avif
=
s
->
iformat
;
...
@@ -1478,18 +1465,6 @@ int ff_seek_frame_binary(AVFormatContext *s, int stream_index, int64_t target_ts
...
@@ -1478,18 +1465,6 @@ int ff_seek_frame_binary(AVFormatContext *s, int stream_index, int64_t target_ts
return
0
;
return
0
;
}
}
#if FF_API_SEEK_PUBLIC
int64_t
av_gen_search
(
AVFormatContext
*
s
,
int
stream_index
,
int64_t
target_ts
,
int64_t
pos_min
,
int64_t
pos_max
,
int64_t
pos_limit
,
int64_t
ts_min
,
int64_t
ts_max
,
int
flags
,
int64_t
*
ts_ret
,
int64_t
(
*
read_timestamp
)(
struct
AVFormatContext
*
,
int
,
int64_t
*
,
int64_t
))
{
return
ff_gen_search
(
s
,
stream_index
,
target_ts
,
pos_min
,
pos_max
,
pos_limit
,
ts_min
,
ts_max
,
flags
,
ts_ret
,
read_timestamp
);
}
#endif
int64_t
ff_gen_search
(
AVFormatContext
*
s
,
int
stream_index
,
int64_t
target_ts
,
int64_t
ff_gen_search
(
AVFormatContext
*
s
,
int
stream_index
,
int64_t
target_ts
,
int64_t
pos_min
,
int64_t
pos_max
,
int64_t
pos_limit
,
int64_t
pos_min
,
int64_t
pos_max
,
int64_t
pos_limit
,
int64_t
ts_min
,
int64_t
ts_max
,
int
flags
,
int64_t
*
ts_ret
,
int64_t
ts_min
,
int64_t
ts_max
,
int
flags
,
int64_t
*
ts_ret
,
...
...
libavformat/version.h
View file @
fd87ba32
...
@@ -47,9 +47,6 @@
...
@@ -47,9 +47,6 @@
* Those FF_API_* defines are not part of public API.
* Those FF_API_* defines are not part of public API.
* They may change, break or disappear at any time.
* They may change, break or disappear at any time.
*/
*/
#ifndef FF_API_SEEK_PUBLIC
#define FF_API_SEEK_PUBLIC (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_REORDER_PRIVATE
#ifndef FF_API_REORDER_PRIVATE
#define FF_API_REORDER_PRIVATE (LIBAVFORMAT_VERSION_MAJOR < 54)
#define FF_API_REORDER_PRIVATE (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