summaryrefslogtreecommitdiff
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-05-06 17:02:55 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-05-10 07:32:13 +0200
commit08c14e67bb1422a1075812be211360acc177a826 (patch)
treee13fab4c56199e3311d6bc3825d9282730fcf785 /libavformat/utils.c
parentd4455d37c4f110ace6f8344e5aad64fc5217947b (diff)
avformat/utils: Move av_stream_get_end_pts() to mux_utils.c
It is only to be used with muxers. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 640ce57f82..44ceeecac6 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -62,14 +62,6 @@ int ff_unlock_avformat(void)
return ff_mutex_unlock(&avformat_mutex) ? -1 : 0;
}
-int64_t av_stream_get_end_pts(const AVStream *st)
-{
- if (cffstream(st)->priv_pts) {
- return cffstream(st)->priv_pts->val;
- } else
- return AV_NOPTS_VALUE;
-}
-
struct AVCodecParserContext *av_stream_get_parser(const AVStream *st)
{
return cffstream(st)->parser;