diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-02-08 09:48:59 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-02-08 09:48:59 +0000 |
commit | 9e8d61d4f1b285f77e6b3642c8658e7408207fa0 (patch) | |
tree | 2c20ec5aec2440c4eeec4050e6e675ffede8de95 | |
parent | 59453725f2504aacfea8b6644d9b9d09230577e2 (diff) | |
download | ffmpeg-9e8d61d4f1b285f77e6b3642c8658e7408207fa0.tar.gz |
rewrite pts also, as comment says
Originally committed as revision 17051 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/audiointerleave.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/audiointerleave.c b/libavformat/audiointerleave.c index e34026c408..056fbe1942 100644 --- a/libavformat/audiointerleave.c +++ b/libavformat/audiointerleave.c @@ -105,7 +105,7 @@ int ff_audio_interleave(AVFormatContext *s, AVPacket *out, AVPacket *pkt, int fl av_fifo_generic_write(&aic->fifo, pkt->data, pkt->size, NULL); } else { // rewrite pts and dts to be decoded time line position - pkt->dts = aic->dts; + pkt->pts = pkt->dts = aic->dts; aic->dts += pkt->duration; ff_interleave_add_packet(s, pkt, compare_ts); } |