Skip to content
Snippets Groups Projects
Commit 181782ae authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

Use correct timestamp value for stream copy.

Originally committed as revision 13963 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 7694a7d9
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment