# HG changeset patch # User michael # Date 1170415198 0 # Node ID b1fb0af4387a5b65716b939ff8d4ff27699bd9c3 # Parent ea10bb05b839857f551efcc840b0e83ff8025c3f packets must be correctly interleaved diff -r ea10bb05b839 -r b1fb0af4387a utils.c --- a/utils.c Wed Jan 31 23:32:01 2007 +0000 +++ b/utils.c Fri Feb 02 11:19:58 2007 +0000 @@ -2314,6 +2314,8 @@ * Write a packet to an output media file. * * The packet shall contain one audio or video frame. + * The packet must be correctly interleaved according to the container specification, + * if not then av_interleaved_write_frame must be used * * @param s media file handle * @param pkt the packet, which contains the stream_index, buf/buf_size, dts/pts, ...