diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-06-25 13:46:06 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-06-25 13:46:06 +0000 |
commit | 181782ae468fa36c2d41d735f5f3b318183eb8e2 (patch) | |
tree | e0a5f8389668f5c6bf570a8081184f41c9e7877d /ffmpeg.c | |
parent | 7694a7d93f51adc4eea2f06974b741acb41875e5 (diff) | |
download | ffmpeg-181782ae468fa36c2d41d735f5f3b318183eb8e2.tar.gz |
Use correct timestamp value for stream copy.
Originally committed as revision 13963 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1339,7 +1339,7 @@ static int output_packet(AVInputStream *ist, int ist_index, opkt.pts= AV_NOPTS_VALUE; if (pkt->dts == AV_NOPTS_VALUE) - opkt.dts = av_rescale_q(ist->next_pts, AV_TIME_BASE_Q, ost->st->time_base); + opkt.dts = av_rescale_q(ist->pts, AV_TIME_BASE_Q, ost->st->time_base); else opkt.dts = av_rescale_q(pkt->dts, ist->st->time_base, ost->st->time_base); |