diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-02 18:15:13 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-02 18:20:24 +0200 |
commit | 513042c92669dbfcd604a9dcdb96176e05ecba90 (patch) | |
tree | 076d1be0435de00d262aa2c202fbb3ee3fb3268e /libavformat/internal.h | |
parent | f5b31daa5e27c009bae78c0ae6a366aaa9dfc9fe (diff) | |
parent | 55f9037f38bc3beacb2f5a17408c1d24c077d7fd (diff) | |
download | ffmpeg-513042c92669dbfcd604a9dcdb96176e05ecba90.tar.gz |
Merge commit '55f9037f38bc3beacb2f5a17408c1d24c077d7fd'
* commit '55f9037f38bc3beacb2f5a17408c1d24c077d7fd':
avformat: split muxing functions from util.c
Conflicts:
libavformat/internal.h
libavformat/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 cd91eb16d3..402e155e86 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -346,4 +346,13 @@ 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(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 */ |