comparison internal.h @ 4418:d5119d75439d libavformat

Move declaration of ff_interleave_add_packet to internal.h. It is an internal function and should not be in an installed header.
author bcoudurier
date Sun, 08 Feb 2009 21:14:46 +0000
parents 59db9e761b38
children 92a6c9c7a1b6
comparison
equal deleted inserted replaced
4417:de5ccc7a4461 4418:d5119d75439d
27 char *ff_data_to_hex(char *buf, const uint8_t *src, int size); 27 char *ff_data_to_hex(char *buf, const uint8_t *src, int size);
28 28
29 void av_set_program_name(AVProgram *program, char *provider_name, char *name); 29 void av_set_program_name(AVProgram *program, char *provider_name, char *name);
30 void av_program_add_stream_index(AVFormatContext *ac, int progid, unsigned int idx); 30 void av_program_add_stream_index(AVFormatContext *ac, int progid, unsigned int idx);
31 31
32 /**
33 * Add packet to AVFormatContext->packet_buffer list, determining its
34 * interleaved position using compare() function argument.
35 *
36 * This function is not part of the public API and should only be called
37 * by muxers using their own interleave function.
38 */
39 void ff_interleave_add_packet(AVFormatContext *s, AVPacket *pkt,
40 int (*compare)(AVFormatContext *, AVPacket *, AVPacket *));
41
32 #endif /* AVFORMAT_INTERNAL_H */ 42 #endif /* AVFORMAT_INTERNAL_H */