aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 53354c645b..b6fa3e7041 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1003,7 +1003,7 @@ static int output_packet(AVInputStream *ist, int ist_index,
void *buffer_to_free;
if (pkt && pkt->pts != AV_NOPTS_VALUE) {
- ist->pts = pkt->pts;
+ ist->next_pts = ist->pts = pkt->pts;
} else {
ist->pts = ist->next_pts;
}