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
c5254755
Commit
c5254755
authored
Jan 12, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf: remove disabled FF_API_SET_PTS_INFO cruft
parent
374e469b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
20 deletions
+0
-20
avformat.h
libavformat/avformat.h
+0
-9
utils.c
libavformat/utils.c
+0
-8
version.h
libavformat/version.h
+0
-3
No files found.
libavformat/avformat.h
View file @
c5254755
...
@@ -1268,15 +1268,6 @@ void avformat_close_input(AVFormatContext **s);
...
@@ -1268,15 +1268,6 @@ void avformat_close_input(AVFormatContext **s);
* @}
* @}
*/
*/
#if FF_API_SET_PTS_INFO
/**
* @deprecated this function is not supposed to be called outside of lavf
*/
attribute_deprecated
void
av_set_pts_info
(
AVStream
*
s
,
int
pts_wrap_bits
,
unsigned
int
pts_num
,
unsigned
int
pts_den
);
#endif
#define AVSEEK_FLAG_BACKWARD 1 ///< seek backward
#define AVSEEK_FLAG_BACKWARD 1 ///< seek backward
#define AVSEEK_FLAG_BYTE 2 ///< seeking based on position in bytes
#define AVSEEK_FLAG_BYTE 2 ///< seeking based on position in bytes
#define AVSEEK_FLAG_ANY 4 ///< seek to any frame, even non-keyframes
#define AVSEEK_FLAG_ANY 4 ///< seek to any frame, even non-keyframes
...
...
libavformat/utils.c
View file @
c5254755
...
@@ -3579,14 +3579,6 @@ int ff_hex_to_data(uint8_t *data, const char *p)
...
@@ -3579,14 +3579,6 @@ int ff_hex_to_data(uint8_t *data, const char *p)
return
len
;
return
len
;
}
}
#if FF_API_SET_PTS_INFO
void
av_set_pts_info
(
AVStream
*
s
,
int
pts_wrap_bits
,
unsigned
int
pts_num
,
unsigned
int
pts_den
)
{
avpriv_set_pts_info
(
s
,
pts_wrap_bits
,
pts_num
,
pts_den
);
}
#endif
void
avpriv_set_pts_info
(
AVStream
*
s
,
int
pts_wrap_bits
,
void
avpriv_set_pts_info
(
AVStream
*
s
,
int
pts_wrap_bits
,
unsigned
int
pts_num
,
unsigned
int
pts_den
)
unsigned
int
pts_num
,
unsigned
int
pts_den
)
{
{
...
...
libavformat/version.h
View file @
c5254755
...
@@ -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_SET_PTS_INFO
#define FF_API_SET_PTS_INFO (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_CLOSE_INPUT_FILE
#ifndef FF_API_CLOSE_INPUT_FILE
#define FF_API_CLOSE_INPUT_FILE (LIBAVFORMAT_VERSION_MAJOR < 55)
#define FF_API_CLOSE_INPUT_FILE (LIBAVFORMAT_VERSION_MAJOR < 55)
#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