diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-02-08 21:14:46 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-02-08 21:14:46 +0000 |
commit | 1cc65cecb2feed9ed806222a5e1593f7d7edcf90 (patch) | |
tree | 86a08992e64972d6d9dd124cff2fb7217c892a71 /libavformat/internal.h | |
parent | 52ef50a080a2b4c61f4e98ad79f2853582f1977c (diff) | |
download | ffmpeg-1cc65cecb2feed9ed806222a5e1593f7d7edcf90.tar.gz |
Move declaration of ff_interleave_add_packet to internal.h.
It is an internal function and should not be in an installed header.
Originally committed as revision 17070 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index cb266caed0..997154f5c3 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -29,4 +29,14 @@ char *ff_data_to_hex(char *buf, const uint8_t *src, int size); void av_set_program_name(AVProgram *program, char *provider_name, char *name); void av_program_add_stream_index(AVFormatContext *ac, int progid, unsigned int idx); +/** + * Add packet to AVFormatContext->packet_buffer list, determining its + * interleaved position using compare() function argument. + * + * This function is not part of the public API and should only be called + * by muxers using their own interleave function. + */ +void ff_interleave_add_packet(AVFormatContext *s, AVPacket *pkt, + int (*compare)(AVFormatContext *, AVPacket *, AVPacket *)); + #endif /* AVFORMAT_INTERNAL_H */ |