packets must be correctly interleaved
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 2 Feb 2007 11:19:58 +0000 (11:19 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 2 Feb 2007 11:19:58 +0000 (11:19 +0000)
Originally committed as revision 7805 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/utils.c

index 69b3cea..4782159 100644 (file)
@@ -2314,6 +2314,8 @@ static void truncate_ts(AVStream *st, AVPacket *pkt){
  * 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, ...