diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-08-26 19:19:28 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-08-30 16:12:22 +0200 |
commit | c6d780b92ea9bb2990367d3fa487664149829e33 (patch) | |
tree | afabe7cf0a78cde409c7e9d5e0c57b53e8dd0a95 /libavformat/internal.h | |
parent | 3f991325b5ef472cf51b7d8433a2380bef2c94ff (diff) |
avformat/utils: Make ff_compute_frame_duration() static
Since 1c0885334dda9ee8652e60c586fa2e3674056586 ff_compute_frame_duration
is only called from within utils.c and only for demuxers. So make it
static and remove the code in it that deals with muxers.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index 002aeb6601..4fc1154b9d 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -715,12 +715,6 @@ int ff_interleave_packet_per_dts(AVFormatContext *s, AVPacket *out, void ff_free_stream(AVFormatContext *s, AVStream *st); -/** - * Return the frame duration in seconds. Return 0 if not available. - */ -void ff_compute_frame_duration(AVFormatContext *s, int *pnum, int *pden, AVStream *st, - AVCodecParserContext *pc, AVPacket *pkt); - unsigned int ff_codec_get_tag(const AVCodecTag *tags, enum AVCodecID id); enum AVCodecID ff_codec_get_id(const AVCodecTag *tags, unsigned int tag); |