Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
c4c6c9e9
Commit
c4c6c9e9
authored
Jan 20, 2024
by
James Almer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat: remove deprecated FF_API_GET_END_PTS
Signed-off-by:
James Almer
<
jamrial@gmail.com
>
parent
5b23b18d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
18 deletions
+0
-18
avformat.h
libavformat/avformat.h
+0
-10
mux_utils.c
libavformat/mux_utils.c
+0
-7
version_major.h
libavformat/version_major.h
+0
-1
No files found.
libavformat/avformat.h
View file @
c4c6c9e9
...
...
@@ -1268,16 +1268,6 @@ typedef struct AVStreamGroup {
struct
AVCodecParserContext
*
av_stream_get_parser
(
const
AVStream
*
s
);
#if FF_API_GET_END_PTS
/**
* Returns the pts of the last muxed packet + its duration
*
* the retuned value is undefined when used with a demuxer.
*/
attribute_deprecated
int64_t
av_stream_get_end_pts
(
const
AVStream
*
st
);
#endif
#define AV_PROGRAM_RUNNING 1
/**
...
...
libavformat/mux_utils.c
View file @
c4c6c9e9
...
...
@@ -30,13 +30,6 @@
#include "internal.h"
#include "mux.h"
#if FF_API_GET_END_PTS
int64_t
av_stream_get_end_pts
(
const
AVStream
*
st
)
{
return
cffstream
(
st
)
->
priv_pts
.
val
;
}
#endif
int
avformat_query_codec
(
const
AVOutputFormat
*
ofmt
,
enum
AVCodecID
codec_id
,
int
std_compliance
)
{
...
...
libavformat/version_major.h
View file @
c4c6c9e9
...
...
@@ -42,7 +42,6 @@
*
*/
#define FF_API_COMPUTE_PKT_FIELDS2 (LIBAVFORMAT_VERSION_MAJOR < 61)
#define FF_API_GET_END_PTS (LIBAVFORMAT_VERSION_MAJOR < 61)
#define FF_API_AVIODIRCONTEXT (LIBAVFORMAT_VERSION_MAJOR < 61)
#define FF_API_AVFORMAT_IO_CLOSE (LIBAVFORMAT_VERSION_MAJOR < 61)
#define FF_API_AVIO_WRITE_NONCONST (LIBAVFORMAT_VERSION_MAJOR < 61)
...
...
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