summaryrefslogtreecommitdiff
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-02-02 11:19:58 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-02-02 11:19:58 +0000
commit5a461d8e1164ff4f6bdd79f4d674b6b13f373a13 (patch)
tree9daccd932cb3cf94a98ef69e4f18b6c04f3aede8 /libavformat/utils.c
parent3d7232ff0021421d760a21e9640dd4bd2c42493d (diff)
packets must be correctly interleaved
Originally committed as revision 7805 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 69b3cea628..4782159eae 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -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, ...