Mercurial > libavformat.hg
diff audiointerleave.c @ 4409:38cf661aa650 libavformat
rewrite pts also, as comment says
| author | bcoudurier |
|---|---|
| date | Sun, 08 Feb 2009 09:48:59 +0000 |
| parents | 65adb9e5214f |
| children | de5ccc7a4461 |
line wrap: on
line diff
--- a/audiointerleave.c Sun Feb 08 09:42:37 2009 +0000 +++ b/audiointerleave.c Sun Feb 08 09:48:59 2009 +0000 @@ -105,7 +105,7 @@ 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); }
