aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/internal.h
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2012-10-01 00:49:16 +0200
committerLuca Barbato <lu_zero@gentoo.org>2012-10-01 19:57:57 +0200
commit55f9037f38bc3beacb2f5a17408c1d24c077d7fd (patch)
tree8b50aa80ebc148470c35741fc95c004ca5f81ce2 /libavformat/internal.h
parentbfcd4b6a1691d20aebc6d2308424c2a88334a9f0 (diff)
downloadffmpeg-55f9037f38bc3beacb2f5a17408c1d24c077d7fd.tar.gz
avformat: split muxing functions from util.c
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r--libavformat/internal.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h
index 16475800d9..3ef46eaa20 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -345,4 +345,13 @@ int ff_read_packet(AVFormatContext *s, AVPacket *pkt);
int ff_interleave_packet_per_dts(AVFormatContext *s, AVPacket *out,
AVPacket *pkt, int flush);
+/**
+ * Return the frame duration in seconds. Return 0 if not available.
+ */
+void ff_compute_frame_duration(int *pnum, int *pden, AVStream *st,
+ AVCodecParserContext *pc, AVPacket *pkt);
+
+int ff_get_audio_frame_size(AVCodecContext *enc, int size, int mux);
+
+
#endif /* AVFORMAT_INTERNAL_H */