diff options
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/ffv1enc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c index 59d2869dc1..a000ddb4fd 100644 --- a/libavcodec/ffv1enc.c +++ b/libavcodec/ffv1enc.c @@ -1184,6 +1184,8 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, f->picture_number++; pkt->size = buf_p - pkt->data; + pkt->pts = + pkt->dts = pict->pts; pkt->flags |= AV_PKT_FLAG_KEY * p->key_frame; *got_packet = 1; |