diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-08-11 21:24:54 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-08-11 21:24:54 +0000 |
commit | 81f0f938263c16ec55bda8365f6a70dcc48194cd (patch) | |
tree | a16a30cd6af70d2d5fec24245dd30d48433d4718 | |
parent | f21c0b4c433aea33578a2f959820594c2b27ef01 (diff) | |
download | ffmpeg-81f0f938263c16ec55bda8365f6a70dcc48194cd.tar.gz |
update documentation
Originally committed as revision 5985 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/utils.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 001c812bbf..32810e2d78 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2414,9 +2414,18 @@ int av_write_frame(AVFormatContext *s, AVPacket *pkt) } /** - * interleave_packet implementation which will interleave per DTS. - * packets with pkt->destruct == av_destruct_packet will be freed inside this function. - * so they cannot be used after it, note calling av_free_packet() on them is still safe + * Interleave a packet per DTS in an output media file. + * + * Packets with pkt->destruct == av_destruct_packet will be freed inside this function, + * so they cannot be used after it, note calling av_free_packet() on them is still safe. + * + * @param s media file handle + * @param out the interleaved packet will be output here + * @param in the input packet + * @param flush 1 if no further packets are available as input and all + * remaining packets should be output + * @return 1 if a packet was output, 0 if no packet could be output, + * < 0 if an error occured */ int av_interleave_packet_per_dts(AVFormatContext *s, AVPacket *out, AVPacket *pkt, int flush){ AVPacketList *pktl, **next_point, *this_pktl; |