Commit 5a461d8e authored by Michael Niedermayer's avatar Michael Niedermayer

packets must be correctly interleaved

Originally committed as revision 7805 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 3d7232ff
...@@ -2314,6 +2314,8 @@ static void truncate_ts(AVStream *st, AVPacket *pkt){ ...@@ -2314,6 +2314,8 @@ static void truncate_ts(AVStream *st, AVPacket *pkt){
* Write a packet to an output media file. * Write a packet to an output media file.
* *
* The packet shall contain one audio or video frame. * 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 s media file handle
* @param pkt the packet, which contains the stream_index, buf/buf_size, dts/pts, ... * @param pkt the packet, which contains the stream_index, buf/buf_size, dts/pts, ...
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment