[FFmpeg-cvslog] r17051 - trunk/libavformat/audiointerleave.c
bcoudurier
subversion
Sun Feb 8 10:48:59 CET 2009
Author: bcoudurier
Date: Sun Feb 8 10:48:59 2009
New Revision: 17051
Log:
rewrite pts also, as comment says
Modified:
trunk/libavformat/audiointerleave.c
Modified: trunk/libavformat/audiointerleave.c
==============================================================================
--- trunk/libavformat/audiointerleave.c Sun Feb 8 10:42:37 2009 (r17050)
+++ trunk/libavformat/audiointerleave.c Sun Feb 8 10:48:59 2009 (r17051)
@@ -105,7 +105,7 @@ int ff_audio_interleave(AVFormatContext
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);
}
More information about the ffmpeg-cvslog
mailing list