diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2012-10-01 00:49:16 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2012-10-01 19:57:57 +0200 |
commit | 55f9037f38bc3beacb2f5a17408c1d24c077d7fd (patch) | |
tree | 8b50aa80ebc148470c35741fc95c004ca5f81ce2 /libavformat/internal.h | |
parent | bfcd4b6a1691d20aebc6d2308424c2a88334a9f0 (diff) | |
download | ffmpeg-55f9037f38bc3beacb2f5a17408c1d24c077d7fd.tar.gz |
avformat: split muxing functions from util.c
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 9 |
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 */ |